Input: Relationship: 'be capital of', Argument/Subject 1: 'hamilton', Argument/Subject 2: 'bermuda'

Answer: It was founded in 1612 and served as the capital of Bermuda until eclipsed by Hamilton in 1815 .