sentences:  The "Krupina law", based on the Magdeburg rights, was the basis for many towns in central and northern Slovakia.The deposits of gold and silver ran out in the 14th century and thereafter the town's economy was based on handicraft and agriculture.In the first half of the 15th century the town was threatened by the remains of the Hussites led by John Giskra.