The Constitution of the State of Maine established the "State of Maine" in 1820 and is the fundamental governing document of the state. It consists of a Preamble and ten Articles (divisions), the first of which is a "Declaration of Rights".
In particular, the Maine constitution was written ensure religious freedom and to establish justice for Maine.
The preamble of Maine's Constitution spells it out: "Objects of government. We the people of Maine, in order to establish justice, insure tranquility, provide for our mutual defense, promote our common welfare, and secure to ourselves and our posterity the blessings of liberty, acknowledging with grateful hearts the goodness of the Sovereign Ruler of the Universe in affording us an opportunity, so favorable to the design; and, imploring God's aid and direction in its accomplishment, do agree to form ourselves into a free and independent State, by the style and title of the State of Maine and do ordain and establish the following Constitution for the government of the same."
The Maine Constitution was approved by Congress on March 4, 1820 as part of the Missouri Compromise since the Maine Constitution did not recognize slavery. The State of Maine was previously the District of Maine in the Commonwealth of Massachusetts. William King may have authored the largest part of the Maine Constitution, as he was the president of the Constitutional Convention and later elected Maine's first Governor.
Other authors of the constitution were Thomas Jefferson, John Chandler, Albion K. Parris, William Pitt Preble, and John Holmes. Thomas Jefferson authored the section of Article VIII on education. The Maine Constitution was approved by all 210 delegates to the Maine Constitutional Convention, which was held during October 1819, in Portland, Maine.