Between 1003 and 1031, the lands of today's Slovakia were part of the Kingdom of Poland, after being annexed by Bolesław I the Brave.

An excerpt from the article 37 facts about Slovakia

During the reign of Saint Stephen I, today's lands of Slovakia were incorporated into the Kingdom of Hungary - to this day, the Hungarian minority in Slovakia constitutes approximately 10% of the population.