Which preposition to use with hamadan

in Occurrences 1%

[Footnote 16: Emir Hechmat, their chief, subsequently went to Hamadan in Persia and organised guerilla bands there.]

toward Occurrences 1%

They still hoped, however, that the forces of Prince Salaru'd-Dawla, which were marching from Hamadan toward Teheran, would take the capital.

Which preposition to use with  hamadan