Missouri Compromise
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.