ей пришлось

she had to

→ она
phrase Rare #27,488
she had to Used before an infinitive to say that she had to do something. Literally, ей means “to her”; пришлось is part of an impersonal construction expressing necessity.
RU: Ей пришлось рано уйти.
EN: She had to leave early.

Но потом сестра серьёзно заболела, и ей пришлось уволиться.

But then my sister became seriously ill and had to quit her job.

— Сочувствие господину Месть (2002)

На следующий день ей пришлось вернуться в больницу.

The next day, she had to return to the hospital.

— Боль и слава (2019)