In the second half of the 18th century, Juraj Janosik became a Slovak national hero.

An excerpt from the article 37 facts about Slovakia

It began to be positively associated with the Tatra Mountains. The legend that he operated by robbing the rich and giving gifts to the poor became popular. In the 19th century, his figure also became common in Beskid folklore, spreading to the Moravian Margraviate, Hungary, and Ukraine. In Slovakia, he was perceived in two ways: as a common bandit and as a noble robber. In Poland, only his positive version was known.