Augusta became the capital of Maine in 1831 and is the seat of Kennebec County. Formerly a part of Lincoln County, Kennebec County was incorporated 20 February 1799. Until 1809, it included all of what is now Somerset County. Parts of Waldo, Franklin and Androscoggin counties were cut from Kennebec County in 1827, 1838 and 1854, respectively.