Hamilton is located on the north side of Hamilton Harbour, and is Bermuda's main port. Although there is a parish of the same name, the city of Hamilton is in the parish of Pembroke. The city is named after Sir Henry Hamilton, governor of the territory from 1786 to 1793. Hamilton Parish antedates the city.