がきた

came; arrived

→ が
phrase Uncommon #18,977
came; arrived が marks what came or arrived. The phrase can also describe a time or season arriving, as in 給料日がきた (payday has come).
JA: 待ちに待った春がきた。
EN: The long-awaited spring has come.

フランスからハガキがきた。

I got a postcard from France.

やっと順番がきた。

It’s finally my turn.

「スペンサーポート?」と返事がきた。

“Spencer Port?” came the reply.

ご近所さんから、うちの犬の鳴き声のことで苦情がきたんだ。

Our neighbor complained about our dog barking.

給料日がきたぞ

Payday is here!

— タイタニック (1997)

この間彼女から手紙がきた。

I recently received a letter from her.

私が日本を去らなければならない時がきた。

The time has come for me to leave Japan.

その老人は熊がきたときにはぐっすりと眠っていた。

The old man was fast asleep when the bear came.

彼から手紙がきた?

Did you get a letter from him?

あ、いかん、汽車がきた。

Oh, no—the train’s here.

こないだ彼女から手紙がきた。

I got a letter from her the other day.