 Those towns were later disincorporated and reincorporated under New Hampshire laws on the same day in 1746.All settlements in the District of Maine were ceded when the state of Maine gained its independence from Massachusetts in 1820 as part of the Missouri Compromise.Many municipalities have changed names.