I was just in time for the last train.
終電に 間に 合った。
Kiwadoi tokoro de shūden ni maniatta.
very close; close; narrow (e.g. narrow victory); dangerous; risky; hazardous; suggestive; bordering on the obscene; risqué; delicate (e.g. question); immoral; questionable; shady; extreme; harsh; cruel
place; spot; scene; site; address; district; area; locality; one's house; point; part; space; room; whereupon; as a result; about to; on the verge of; was just doing; was in the process of doing; have just done; just finished doing
indicates location of action; at; in; indicates time of action; indicates means of action; cause of effect; by; and then; so; indicates continuing action; indicates certainty, emphasis, etc.
at (place, time); in; on; during; to (direction, state); toward; into; for (purpose); because of (reason); for; with; by; from; as (i.e. in the role of); per; in; for; a (e.g. "once a month"); and; in addition to; if; although
to be in time for; to serve (suit, meet) the purpose; to be good enough; to be enough