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
Ludmila (wife of Mieszko I Tanglefoot) a minority hypothesis that Ludmila was daughter of Soběslav I, Duke of Bohemia, Conrad II, Duke of Znojmo or Vladimir, Duke of Olomouc. Ludmilla contributed to the foundation of the Norbertine monastery in Rybnik, who was later transferred to Czarnowąsy. Mieszko and Ludmila had the following children: Ludmila (wife of Mieszko I Tanglefoot) Ludmila (d. October 20 after 1210) was the wife of Mieszko I Tanglefoot. Her origins are disputed. Mieszko I Tanglefoot married Ludmila between 1170-1178. Given her name, scientists think that Ludmila came from Bohemia, a member of the Přemyslid dynasty, since this was one of the only