The woman told York Crown Court she had tried to get Joshua William Wright, 26, off her before he punched her repeatedly in the face.
Later he had banged her head repeatedly against the glass door.
Judge Simon Hickey said Wright had told the woman on the night he attacked her, he would “ruin her life” and end her career before it had begun.