The Prussian education system refers to the system of education established in Prussia as a result of educational reforms in the late 18th and early 19th century, which has had widespread influence since. The Prussian education system was introduced as a basic concept in the late 18th century and was significantly enhanced after Prussia's defeat in the early stages of the Napoleonic Wars. The Prussian educational reforms inspired similar changes in other countries, and remain an important consideration in accounting for modern nation-building projects and their consequences. The term itself is not used in German literature, which refers to the primary aspects of the Humboldtian education ideal respectively as the Prussian reforms; however, the basic concept has led to various debates and controversies. Twenty-first century primary and secondary education in Germany and beyond still embodies the legacy of the Prussian education system. The basic foundations of a generic Prussian primary education system were laid out by Frederick the Great with his Generallandschulreglement, a decree of 1763 which was written by Johann Julius Hecker. Hecker had already before (in 1748) founded the first teacher's seminary in Prussia. His concept of providing teachers with the means to cultivate mulberries for homespun silk, which was one of Frederick's favorite projects, found the King's favour. It expanded the existing schooling system significantly and required that all young citizens, both girls and boys, be educated by mainly municipality-funded schools from the age of 5 to 13 or 14. Prussia was among the first countries in the world to introduce tax-funded and generally compulsory primary education. In comparison, in France and Great Britain, compulsory schooling was not successfully enacted until the 1880s. The Prussian system consisted of an eight-year course of primary education, called Volksschule.