He ran unsuccessfully for Governor of Massachusetts in 1780, losing to John Hancock. In 1785, after Hancock's resignation, he was elected governor. He lost his re-election in the 1787 election to Hancock. 