Where is Gettysburg located at in the US?

Gettysburg is located in Adams County within the state of Pennsylvania, on the state's southern border with Maryland.