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 the Polabian Slavs. On the other hand, the supporters of the Gero's invasion theory believe that the Margrave did actually carry out a successful invasion, as a result of which Mieszko I was forced to pay tribute to the Emperor and also was compelled to adopt Catholicism through the German Church. The thesis that proposes the introduction of Catholicism as a result of this war finds no confirmation in German sources. The homage is then a separate issue, since, according to the chronicle of Thietmar, Mieszko actually paid tribute to the Emperor from the lands "usque in Vurta fluvium" (up