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 been between 922–945; the activity of the Duke in his final years of life puts the date of his birth closer to the latter year. There are three major theories concerning the origin and meaning of Mieszko I's name. The most popular theory, proposed by Jan Długosz, explains that Mieszko is a diminutive of "Mieczysław", a combination of two elements or lexemes: "Miecz" meaning sword and "Sław" meaning famous. Today, this theory is rejected by the majority of Polish historians, who consider the name Mieczysław to have been invented by Długosz to explain the origin of the name Mieszko. Today,