mine may have produced as much as 20 tons of silver a year. In 1300, Wenceslaus issued the new royal mining code Ius regale montanorum. This was a legal document that specified all administrative as well as technical terms and conditions necessary for the operation of mines. The Crown of Hungary and death Queen Judith died in 1297. Wenceslaus' second wife was Elisabeth Richeza, daughter of King Przemysl II of Poland (1295–1296). In 1301, Wenceslaus' kinsman Andrew III of Hungary died and the Árpád dynasty became extinct in the male line. Wenceslaus was one of the relatives who claimed the throne, and he accepted it from a party of Hungarians on behalf of his young son, betrothed to Andrew's only child, Elizabeth. On 27 August 1301, his son was crowned in Székesfehérvár as king of Hungary. At that time the Kingdom of Hungary was split into several de facto principalities, and young Wenceslaus was only accepted as the King of Hungary by the rulers in Upper Hungary (Matthew III Csák), in modern-day Burgenland (the Güssings [Kőszegis]) and on territory around the capital, Buda. But the Abas and Matthew Csák switched sides in 1303 and started to support Wenceslaus' rival Charles Robert of Anjou. Consequently, the young Wenceslaus, in Ofen (Buda), became afraid and wrote to his father in Prague for help. His father took a large army and invaded Buda, but having considered the situation, he took his son and the Hungarian crown and returned to Bohemia (1304). Ivan Kőszegi was named to represent Wenceslaus III in Hungary. Wenceslaus II died on 21 June 1305, at the age of 33, probably of tuberculosis. He was succeeded by his son, Wenceslaus III, the last of the Přemyslid kings. Review of government of Wenceslaus II Wenceslaus II is considered one of the most important Czech kings. He built a great empire stretching from the Baltic Sea to the Danube river and established numerous cities, such as Plzeň in 1295. He won for his family three royal crowns (Bohemia, Hungary and Poland). The Kingdom of Bohemia was the largest producer of silver in Europe in his time. He created Prague Groschen, which was an important European currency for centuries. During his reign, there was great urban development. He planned to build the first university in Central Europe. The power and wealth of the Kingdom of Bohemia gave rise to great respect, but also