Poland to form into a recognizable unitary and territorial entity around the middle of the 10th century under the Piast dynasty. Poland's first historically documented ruler, Mieszko I, accepted Christianity with the Baptism of Poland in 966, as the new official religion of his subjects. The bulk of the population converted in the course of the next few centuries. In 1000, Boleslaw the Brave, continuing the policy of his father Mieszko, held a Congress of Gniezno and created the metropolis of Gniezno and the dioceses of Kraków, Kołobrzeg, and Wrocław. However, the pagan unrest led to the transfer of the capital
Mieszko I of Poland responsible according to Gallus Anonymus, who claimed that it was the Bohemian Princess Dobrawa who convinced her husband to change his religion. Likewise chronicler Thietmar attributes Mieszko's conversion to Dobrawa's influence. There are no reasons to negate Dobrawa's role in Mieszko's acceptance of Roman Catholicism; however crediting rulers' wives with positive influence over their husbands' actions was a common convention at that time. It is generally recognized that the baptism of Mieszko I took place in 966. The place is unknown; it could have had happened in any of the cities of the Empire (possibly Regensburg), but also in one