made it in time for the last train
なんとか終電に間に合ったよ。
I somehow managed to catch the last train.
彼はちょうど終電に間に合った。
He just made the last train.