j’y suis allé
I went there to learn French.
J'y suis allé pour apprendre le français.
I went there for the express purpose of earning money.
J’y suis allé dans le but précis de gagner de l’argent.
I went there the day before yesterday.
J’y suis allé avant-hier.
J’y suis allé(e) tout seul(e).
I went there once with my father on holiday.
J’y suis allé une fois avec mon père pendant les vacances.
— Rebecca (1940)
So I went there to my uncle and worked in his restaurant.
Je suis donc allé chez mon oncle et j'ai travaillé dans son restaurant.
— Pain and Glory (2019)
J’y suis allé par nécessité.