Knoxville was founded in 1786 and is the second oldest of Tennessee's four major cities, after Nashville which was founded in 1779. After Tennessee's admission into the Union in 1796, Knoxville was the state's first capital. In 1819, the capital was moved to Murfreesboro, prior to Nashville becoming the current capital. The city was named in honor of the first Secretary of War, Henry Knox.