Grammar › N3 · 02 Time and sequence
〜ところへ: just when; at the moment
N3 · 02 Time and sequence
Shows that something interrupted or arrived just as an action was going on.
Verb te-iru, dictionary, or past form + ところへ (ところに also). The second event arrives at that moment, either as help or as an interruption. Compare 〜最中に, which is mostly for bad interruptions.
Examples
帰ろうとしたところへ、部長から電話がかかってきた。
Just as I was about to leave, a call came from the department head.
困っているところへ、友達が助けに来てくれた。
Just when I was in trouble, a friend came to help me.