はめになった

ended up having to

→ はめ
phrase Rare #42,304
ended up having to Used when someone ends up in an undesirable or unintended situation, often due to circumstances or someone else's actions. The broader pattern はめになる means “end up having to” or “be put in the position of.”
JA: 急な仕事が入って、休日に出勤するはめになった。
EN: A sudden job came up, and I ended up having to work on my day off.

僕の友達はひどく酔っていたので家まで車で送るはめになったんだ

My friend was so drunk that I had to drive him home.

彼が脅したので私は本気で勉強をするはめになった

Because he threatened me, I ended up having to study seriously.