Which preposition to use with agram

as Occurrences 1%

No solution has any chance of permanence which ignores Agram as the centre of Croat political and religious life, of education, art and historic memories.

on Occurrences 1%

Jellachich, as a functionary of the Hungarian Crown, refused to obey the Hungarian ministry, and illegally summoned a Croatian Diet to meet at Agram on June 5.

Which preposition to use with  agram