 In 1852, the territorial legislature picked North Cottonwood as the county seat and officially named it Farmington.Following orders from Daniel H. Wells and Brigham Young, Farmington residents built a wall around the city in 1853 under the direction of Major Thomas S. Smith.This walled townsite became known as "the Fort".