 The Sarmatian, Celtic, and Roman tombs were located near the church and the area appears to have been the frontier between Roman and Sarmation lands at the time.Avars immigrated into the area in 567AD and Hungarian Magyars in 896AD.The Ottoman Empire took the town in 1566AD but by the 17th century it was in Habsburg hands.