来ていた

had come; had arrived

→ 来る
phrase Rare #37,016
had come; had arrived Past form of 来る, used to say that someone or something had reached or approached a place by a point in the past.
JA: そのころには、私はもうすぐそばまで来ていた。
EN: By then, I had already come very close.

彼は前の週に日本に来ていたと言った。

He said he had come to Japan the week before.

思ったよりずっと近くまで来ていた。

It was much closer than I thought.

嵐が頭上に来ていた。

The storm was overhead.