Which is the correct choice of grammar in this sentence?
Il était une langue étrangère à apprendre dans mon collège.
or
Il était une langue étrangère à apprendre à mon collège.
In my opinion, « à » works better because I am not saying the physical school building offers this foreign language course, but was taught by my teachers at my school.