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 another daughter of Mieszko, married to a Pomeranian Slavic Prince; she could be a daughter of Dobrawa or of one of the previous pagan wives. Also, a theory exists (apparently based on Thietmar and supported by Oswald Balzer in 1895) that Vladivoj, who ruled as Duke of Bohemia in 1002–1003, was a son of Mieszko and Dobrawa. Although most modern historians reject this claim, Bohemian historiography supported the Piast parentage of Vladivoj. In 978/79, Mieszko married Oda of Haldensleben (b. 955/60 – d. 1023), daughter of Dietrich of Haldensleben, Margrave of the Northern March. She was abducted by her future