The Office of the Missouri Attorney General was created in 1806 when Missouri was part of the Louisiana Territory. Missouri's first Constitution in 1820 provided for an appointed attorney general, but since the 1865 Constitution, the Attorney General has been elected.