Gettysburg is a city and county seat of Potter County, South Dakota, United States, along the 45th parallel. The population was 1,104 at the 2020 census.