Plzeň (; German and English: Pilsen, in German ) is a city in the Czech Republic. About west of Prague in western Bohemia, it is the fourth most populous city in the Czech Republic with about 169,000 inhabitants. The city is known worldwide for Pilsner beer, created by Bavarian brewer Josef Groll in the city in 1842. Administrative division Plzeň is divided into ten boroughs, which are further divided into 25 administrative parts (in brackets): Plzeň 1-Bolevec (Bolevec and Severní Předměstí) Plzeň 2-Slovany (Božkov, Černice (partly), Doudlevce (partly), Hradiště, Koterov, Lobzy (partly) and Východní Předměstí (partly)) Plzeň 3-Bory (Doudlevce (partly), Jižní Předměstí, Litice (partly), Nová Hospoda, Radobyčice, Skvrňany, Valcha, Vnitřní Město and Východní Předměstí (partly)) Plzeň 4-Doubravka (Bukovec, Červený Hrádek, Doubravka, Lobzy (partly), Újezd and Východní Předměstí (partly)) Plzeň 5-Křimice Plzeň 6-Litice (Litice (partly)) Plzeň 7-Radčice Plzeň 8-Černice (Černice (partly)) Plzeň 9-Malesice (Dolní Vlkýš and Malesice) Plzeň 10-Lhota History Middle Ages Plzeň was first mentioned as a castle in 976, as the scene of a battle between Duke Boleslaus II the Pious of Bohemia and Emperor Otto II. It became a town in 1295 when King Wenceslaus II granted Plzeň its civic charter as a "Royal City" and established a new town site, some away from the original settlement, which is the current town of Starý Plzenec. It quickly became an important town on trade routes leading to Nuremberg and Regensburg; in the 14th century, it was the third-largest town in Bohemia after Prague and Kutná Hora. During the Hussite Wars, it was the centre of Catholic resistance to the Hussites: Prokop the Great unsuccessfully besieged it three times, and it joined the league of Catholic nobles against King George of Poděbrady. In 1468, the town acquired a printing press; the Trojan Chronicle (), the first book published in Bohemia, was printed on it. 17th century Emperor Rudolf II made Plzeň his seat from 1599 to 1600. During the Thirty Years' War the town was taken by Mansfeld in 1618 after the Siege of Plzeň and it was not recaptured by Imperial troops until 1621. Wallenstein made it his winter quarters in 1633. Accused of treason and losing the support of his army, he fled the town on 23 February 1634 to Eger/Cheb where he was assassinated two days later. The town was increasingly threatened by the Swedes in the last years of the war. The city commander Jan van