Which preposition to use with hingham

in Occurrences 1%

It is true that his parents belonged to the class of poor whites; but the Lincoln family can be traced from an eastern county of England (we might hope for the purpose of genealogical harmony that the county was Lincolnshire) to Hingham in Massachusetts, and by way of Pennsylvania and Virginia to Kentucky.

with Occurrences 1%

I had come to know him through having preached in the church at Hingham with which he was connected.

Which preposition to use with  hingham