Hamilton was born out of wedlock in Charlestown, Nevis. He was orphaned as a child and taken in by a prosperous merchant. When he reached his teens, he was sent to New York to pursue his education. He took an early role in the militia as the American Revolutionary War began. In 1777, he became a senior aide to General Washington in running the new Continental Army. After the war, he was elected as a representative from New York to the Congress of the Confederation. He resigned to practice law and founded the Bank of New York.