According to the demographers, about 80 percent of the population was made up of Hungarians before the Battle of Mohács, however the Hungarian ethnic group became a minority in its own country after the Rákóczi's War for Independence.