Lee County is a county in the U.S. state of Alabama. As of the 2010 census, the population was 140,247. The county seat is Opelika, and the largest city is Auburn. The county is named for General Robert E. Lee (1807–1870), who served as General in Chief of the Armies of the Confederate States in 1865.