 In 1138, the Kingdom of Poland, which had been growing in strength under the rule of the Piast dynasty, encountered an obstacle which impeded its development for nearly two hundred years.In the will of King Bolesław III Wrymouth ("Bolesław III Krzywousty"), Poland was divided into five provinces