The culture of medieval Poland was closely linked to the Catholic Church and its involvement in the country's affairs, especially during the first centuries of the Polish state's history. Many of the oldest Polish customs and artifacts date from the Middle Ages, which in Poland lasted from the late 10th to late 15th century, and were followed by the Polish Renaissance.
The Christianization of the Kingdom of Poland (baptism of Poland) led, as in the rest of Europe, to the supplementation of previous pagan Slavic mythology-based culture Polanie with new Christian culture of the Kingdom of Poland under the Piast dynasty. Around the 12th century, the ecclesiastical network in Poland was composed of about one thousand parishes grouped in eight dioceses.
The new customs spread as the Church also acted as the state's educational system. Church run schools with Latin trivium (grammar, rhetoric, dialectic) and quadrivium (mathematics, geometry, astronomy, and music) and was helped by various religious orders which established monasteries throughout the countryside. By the end of the 13th century, over 300 monasteries existed in Poland, spreading Catholicism and Western traditions: for example, the first Benedictine monasteries built in the 11th century in Tyniec and Lubin spread new Western agricultural and industrial techniques.