section_path: History/Kingdom of Poland
section_name: Kingdom of Poland
paragraph_text: Kingdom of Poland
  
  Poland began to form into a recognisable unitary and territorial entity around the middle of the 10th century under the Piast dynasty. In 966, ruler of the Polans Mieszko I accepted Christianity under the auspices of the Roman Church with the Baptism of Poland. In 968, a missionary bishopric was established in Poznań. An incipit titled Dagome iudex first defined Poland's geographical boundaries with its capital in Gniezno and affirmed that its monarchy was under the protection of the Apostolic See. The country's early origins were described by Gallus Anonymus in Gesta principum Polonorum, the oldest Polish chronicle. An important national event of the period was the martyrdom of Saint Adalbert, who was killed by Prussian pagans in 997 and whose remains were reputedly bought back for their weight in gold by Mieszko's successor, Bolesław I the Brave.
  
  In 1000, at the Congress of Gniezno, Bolesław obtained the right of investiture from Otto III, Holy Roman Emperor, who assented to the creation of additional bishoprics and an archdioceses in Gniezno. Three new dioceses were subsequently established in Kraków, Kołobrzeg, and Wrocław. Also, Otto bestowed upon Bolesław royal regalia and a replica of the Holy Lance, which were later used at his coronation as the first King of Poland in c. 1025, when Bolesław received permission for his coronation from Pope John XIX. Bolesław also expanded the realm considerably by seizing parts of German Lusatia, Czech Moravia, Upper Hungary and southwestern regions of the Kievan Rus'.
  
  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.
  
  In the first half of the 13th century, Henry I the Bearded and Henry II the Pious aimed to unite the fragmented dukedoms, but the Mongol invasion and the death of Henry II in battle hindered the unification. As a result of the devastation which followed, depopulation and the demand for craft labour spurred a migration of German and Flemish settlers into Poland, which was encouraged by the Polish dukes. In 1264, the Statute of Kalisz introduced unprecedented autonomy for the Polish Jews, who came to Poland fleeing persecution elsewhere in Europe.
  
  In 1320, Władysław I the Short became the first king of a reunified Poland since Przemysł II in 1296, and the first to be crowned at Wawel Cathedral in Kraków. Beginning in 1333, the reign of Casimir III the Great was marked by developments in castle infrastructure, army, judiciary and diplomacy. Under his authority, Poland transformed into a major European power; he instituted Polish rule over Ruthenia in 1340 and imposed quarantine that prevented the spread of Black Death. In 1364, Casimir inaugurated the University of Kraków, one of the oldest institutions of higher learning in Europe. Upon his death in 1370, the Piast dynasty came to an end. He was succeeded by his closest male relative, Louis of Anjou, who ruled Poland, Hungary and Croatia in a personal union. Louis' younger daughter Jadwiga became Poland's first female monarch in 1384.
  
  In 1386, Jadwiga of Poland entered a marriage of convenience with Władysław II Jagiełło, the Grand Duke of Lithuania, thus forming the Jagiellonian dynasty and the Polish–Lithuanian union which spanned the late Middle Ages and early Modern Era. The partnership between Poles and Lithuanians brought the vast multi-ethnic Lithuanian territories into Poland's sphere of influence and proved beneficial for its inhabitants, who coexisted in one of the largest European political entities of the time.
  
  In the Baltic Sea region, the struggle of Poland and Lithuania with the Teutonic Knights continued and culminated at the Battle of Grunwald in 1410, where a combined Polish-Lithuanian army inflicted a decisive victory against them. In 1466, after the Thirteen Years' War, king Casimir IV Jagiellon gave royal consent to the Peace of Thorn, which created the future Duchy of Prussia under Polish suzerainty and forced the Prussian rulers to pay tributes. The Jagiellonian dynasty also established dynastic control over the kingdoms of Bohemia (1471 onwards) and Hungary. In the south, Poland confronted the Ottoman Empire (at the Varna Crusade) and the Crimean Tatars, and in the east helped Lithuania to combat Russia.
  
  Poland was developing as a feudal state, with a predominantly agricultural economy and an increasingly powerful landed nobility that confined the population to private manorial farmstead known as folwarks. In 1493, John I Albert sanctioned the creation of a bicameral parliament composed of a lower house, the Sejm, and an upper house, the Senate. The Nihil novi act adopted by the Polish General Sejm in 1505, transferred most of the legislative power from the monarch to the parliament, an event which marked the beginning of the period known as Golden Liberty, when the state was ruled by the seemingly free and equal Polish nobles.
  
  The 16th century saw Protestant Reformation movements making deep inroads into Polish Christianity, which resulted in the establishment of policies promoting religious tolerance, unique in Europe at that time. This tolerance allowed the country to avoid the religious turmoil and wars of religion that beset Europe. In Poland, Nontrinitarian Christianity became the doctrine of the so-called Polish Brethren, who separated from their Calvinist denomination and became the co-founders of global Unitarianism.
  
  The European Renaissance evoked under Sigismund I the Old and Sigismund II Augustus a sense of urgency in the need to promote a cultural awakening. During the Polish Golden Age, the nation's economy and culture flourished. The Italian-born Bona Sforza, daughter of the Duke of Milan and queen consort to Sigismund I, made considerable contributions to architecture, cuisine, language and court customs at Wawel Castle.