You must also look into the Slovak side of the border for even more Legersky records who start in Skalite, SK (on the Polish/Czech border). This is also a highland Carpathian town. This is where my ancestors originate from. This town is only 10 km from the other towns mentioned in this post. The Catholic church baptism book is on micro-film at the FamilySearch.org site and has Legersky back to 1700s. You have good luck searching for the females as "Legerska" (the female noun declination is Slovak and Polish). Also, older spellings or misprintings in the database are: Legerzsky and Legertzsky, etc. so dabble with the spelling or use the root "Leger."
Finally, the towns of Sol and Spiske Vlacky, in Spis, near Nova Ves in Slovakia (once part of Galicia, Poland) have Legersky recorded back to early-mid 1700s. These are also highland mountain towns.
I have speculated that the settlement of Legersky moved through the mountains from south to northwest through the Carpathians. The evidence suggests we were Vlachs (Romanian shepards) that settled in these mountain towns during the Vlach migration into the mountain ranges on the Slovak, Polish border sometime probably between in the 1400-1600. I don't believe we got this surname - at least in recorded records I've found so far until early 1700s.
Even back in Slovakia, relatives are trying to figure out what Legersky means. Lege or Leger are Latin roots that again could point back to the Romanian theory. Leger is a Czech word meaning "Legion," but the origins of Legersky are in not in Czech. There is no word in Polish, Slovak or Hungarian that is "Lege" or "Leger." In Romanian, "Lege" means -- law, rules or sanctions, a legal act or ruling, principles, a set of religious beliefs, or traditions -- depending on the context. (My wife is Romanian and I lived there about five years, but this doesn't influence my opinion on the facts).
Best of luck,
Pittsburgh, Pennsylvania, USA
Tereska... if you come back to this forum. Why did you ask about Polish szlachta? It may be just a coincidence, but my great-grandfather also said Legersky was from noble origin. We've since cracked this up to romanticism or pragmatism in trying to integrate into America as an immigrant and not be so looked down upon. But now I find you asking about this too, and I wonder why. We have found no evidence to back this claim yet, just poverty and rocky fields that wouldn't grow in the search.