People have lived in the area since the Paleolithic period. Prešov is first mentioned in 1247. It became a free royal town in 1374. Salt mining started here in the 16th century, in the nearby town of Solivar (which is now part of Prešov).