が到着したとき

when … arrived

→ が
phrase Rare #45,897
when … arrived The particle が marks who or what arrived. The phrase follows that subject.
JA: 電車が到着したとき、彼は眠っていた。
EN: He was asleep when the train arrived.

救急車が到着したとき開いてた?

Was it open when the ambulance arrived?

— 落下の解剖学 (2023)