 It was ruled by Ottoman Empire as part of Filek sanjak (Its centre was Rima Sonbot) during periods of 1554-1593 and 1596–1686.It was made part of Czechoslovakia, and remained as such except for a period of Hungarian rule between 1938 and 1945 due to the Vienna Awards.Šafárikovo lies at an altitude of above sea level and covers an area of .