Mayfield is a home rule–class city and the county seat of Graves County, Kentucky, United States. The population was 10,017 as of the 2020 United States Census. Mayfield is in the center of the Jackson Purchase, an eight-county region purchased by Isaac Shelby and Andrew Jackson from the Chickasaw people in 1818. Mayfield was established as the county seat of Graves County in 1821, and the county was formally organized in 1823. John Anderson is believed to have been the first white settler, arriving in 1819 and building a log home on Mayfield Creek. In December 1821, Anderson was appointed county court clerk and moved about two and a half miles to the site that became Mayfield. According to Trabue Davis, the town's name originates indirectly from a gambler named Mayfield, who was kidnapped about 1817 at a racetrack near what is now Hickman. He was carried to the site of today's Mayfield, where he carved his name into a tree in hopes that someone would see it. He tried to escape but drowned trying to cross what is now called Mayfield Creek. The town took its name from the creek.