This is the 4949th most frequent Turkish word.
geldiğim
"Geldiğim" means "the place I came from" or "when/where I came."
Here, 'geldiğim' is used as a relative clause, meaning 'that I come from', modifying 'şehir' (city).
Geldiğim şehir çok güzel.
The city I come from is very beautiful.
In this sentence, 'geldiğim' signifies a particular time in the past, providing context for the main action ('gitmişti').
Partiye geldiğim zaman herkes çoktan gitmişti.
When I arrived at the party, everyone had already left.
'Geldiğimde' indicates the instance of coming 'here', setting the occasion for the occurrence of the subsequent action ('beni mutlu etti').