The legend tells that a Hungarian princess named Kinga married a Polish prince, and received a magical salt mine as a wedding gift.
Legend or not, the mine is there.