Jánošík has been topic of many Slovak and Polish legends, books and films. According to the legend, he robbed nobles and gave the loot to the poor. The legend were also known in neighboring Silesia, the Margraviate of Moravia and later spread to the Kingdom of Bohemia. The actual robber had little to do with the modern legend, whose content partly reflects the ubiquitous folk myths of a hero taking from the rich and giving to the poor. However, the legend was also shaped in important ways by the activists and writers in the 19th century when Jánošík became the key highwayman character in stories that spread in the north counties of the Kingdom of Hungary (present Slovakia) and among the local Gorals and Polish tourists in the Podhale region north of the Tatras.
More info