 In the 17th century, Jelšava passed to the Bocskay family.The first magnesite furnace in present-day Slovakia was built in 1894.After breakup of Austria-Hungary in 1918, the town passed to Czechoslovakia, which controlled the town lied until 1993, with exception of years 1938–1945, when it was occupied by Hungary (see First Vienna Award).