The transition from paganism in Poland was not instantaneous and resulted in the pagan reaction of the 1030s. In 1031, Mieszko II Lambert lost the title of king and fled amidst the violence. The unrest led to the transfer of the capital to Kraków in 1038 by Casimir I the Restorer. In 1076, Bolesław II re-instituted the office of king, but was banished in 1079 for murdering his opponent, Bishop Stanislaus. In 1138, the country fragmented into five principalities when Bolesław III Wrymouth divided his lands among his sons. These were Lesser Poland, Greater Poland, Silesia, Masovia and Sandomierz, with intermittent hold over Pomerania. In 1226, Konrad I of Masovia invited the Teutonic Knights to aid in combating the Baltic Prussians; a decision that later led to centuries of warfare with the Knights.
The transition from paganism in Poland was not instantaneous and resulted in the pagan reaction of the 1030s. In 1031, Mieszko II Lambert lost the title of king and fled amidst the violence. The unrest led to the transfer of the capital to Kraków in 1038 by Casimir I the Restorer. In 1076, Bolesław II re-instituted the office of king but was banished in 1079 for murdering his opponent, Bishop Stanislaus. In 1138, the country fragmented into five principalities when Bolesław III Wrymouth divided his lands among his sons. These were Lesser Poland, Greater Poland, Silesia, Masovia and Sandomierz, with intermittent hold over Pomerania. In 1226, Konrad I of Masovia invited the Teutonic Knights to aid in combating the Baltic Prussians; a decision that later led to centuries of warfare with the Knights.