A legend about Princess Kinga, associated with the Wieliczka mine, tells of a Hungarian princess about to be married to Bolesław V the Chaste, the Prince of Kraków. As part of her dowry, she asked her father, Béla IV of Hungary, for a lump of salt, since salt was prizeworthy in Poland. Her father King Béla took her to a salt mine in Máramaros. She threw her engagement ring from Bolesław in one of the shafts before leaving for Poland. On arriving in Kraków, she asked the miners to dig a deep pit until they come upon a rock. The people found a lump of salt in there and when they split it in two, discovered the princess's ring. Kinga had thus become the patron saint of salt miners in and around the Polish capital.