Montgomery is the capital of the state of Alabama in the USA and the center city of Montgomery County. It is located on the bank of the Alabama River. According to the 2007 census, its population is around 204,000. Various Indigenous villages were established in the region, where hill-making cultures first settled. In 1715, the explorer Jean-Baptiste Le Moyne de Bienville built Toulouse Castle slightly above today's city. The city, which was founded and received a certificate in 1819 with the merger of the two settlements, was named after General Richard Montgomery, who died in the War of Independence. It became the political center of the province and was made the capital in 1847. It became the first capital of the Confederacy in 1861 during the American Civil War; In 1865, it fell into the hands of the Union forces.