by the time (someone) arrived着いた means “arrived,” and 時には marks the time; it often implies that something was already happening or had already happened by then.
JA: 駅に着いた時には、電車はもう出ていました。
EN: By the time I arrived at the station, the train had already left.