Second Seminole War (1835–1842) to resist their people's relocation to the Arkansas Territory (now known as Oklahoma). After Florida became a territory of the United States in 1821, pioneer and immigrant settlers from the United States formed their own settlement adjacent to Alligator Village and called it Alligator. Following the 1823 Treaty of Moultrie Creek, the residents of Alligator village relocated to the banks of Peace Creek in the newly established Seminole reservation, leaving Alligator Town on its own. When Columbia County was formed in 1832 from Duval and Alachua counties, Alligator Town was designated as the seat of the county government. During the Seminole Wars, several forts were established in the area, including Fort White on the Santa Fe River, and Fort Alligator, also called Fort Lancaster, in present-day downtown Lake City. By 1845 the last of the Seminole left the area of present-day Lake City or were forcibly removed by the US Army. In 1847 Company C of the Florida Volunteers, which was composed of Lake City members, served in the Mexican–American War. In November 1858 a railroad was completed connecting Jacksonville to Alligator, which opened the town to more commerce and passenger traffic. Alligator Town was incorporated and its name changed to Lake City in 1859; M. Whit Smith was elected as the town's first mayor. According to an urban legend, the name was changed because the mayor's wife Martha Jane, who had recently moved to the town, refused to hang her lace curtains in a town named Alligator. Civil War During the American Civil War the railroad between Lake City and Jacksonville was used to send beef and salt to Confederate soldiers. In February 1864 Union troops under Truman Seymour advanced west from Jacksonville. His objective was to disrupt Confederate supplies, and obtain African-American recruits and supplies. Confederate General Joseph Finnegan assembled troops and called for reinforcements from P. G. T. Beauregard in response to the Union threat. On February 11, 1864, Finnegan's troops defeated a Union cavalry raid in Lake City. After the Union cavalry was repulsed, Finnegan moved his forces to Olustee Station about ten miles east of Lake City. The Confederate presence at Olustee Station was reinforced to prepare for the Union troops coming from Jacksonville. Union forces engaged the Confederates at the Battle of Olustee on February 20, 1864, near the Olustee Station. It was the only major battle in Florida during