of a castellan. The name of the city comes from the ancient Slavic given name Radomir, and Radom means a gord, which belongs to Radomir. In the second half of the 13th century, Radom was granted a Środa Śląska town charter by Prince Bolesław V the Chaste, although no documents exist to confirm the exact date of this event. The town prospered in the 14th century, when in 1350 King Kazimierz Wielki established the so-called New Town, with a royal castle, a defensive wall, and a town hall. There was also a market square and a grid plan of the streets, patterned after Gothic German towns. The area of New Town was 9 hectares, and the length of the defensive wall was 1,100 meters. Radom had three gates, named after main merchant roads: Iłża Gate, Piotrków Trybunalski Gate, and Lublin Gate. The defensive wall was further protected by 25 fortified towers. New Town had the Church of John the Baptist, and the Royal Castle was built between the church and the moat. In 1364, Radom's obsolete Środa Śląska rights were replaced with more modern Magdeburg rights, and residents gained several privileges as a result. At that time, Radom was located along the so-called Oxen Trail, from Ruthenian lands to Silesia. In 1376, the city became the seat of a starosta, and entered the period of its greatest prosperity. Poland's Golden Age King Władysław Jagiełło granted several privileges to the city. Jagiełło himself frequently travelled from Kraków to Vilnius, and liked to stay at Radom Castle en route. On March 18, 1401, the Pact of Vilnius and Radom was signed, which strengthened the Polish–Lithuanian union. Immediately after the Pact, preparations for the Polish–Lithuanian–Teutonic War began. King Casimir IV Jagiellon frequently visited Radom, along with his wife, Elizabeth of Austria. Here, the King would host foreign envoys, from such countries as the Crimean Khanate, the Kingdom of Bohemia, and the Duchy of Bavaria. On November 18, 1489, Johann von Tiefen, the Grand Master of the Teutonic Knights, paid homage to King Jagiellon at Radom Castle. Mikołaj Radomski, one of the earliest Polish composers, comes from Radom. In 1468, the complex of a Bernardine church and monastery was founded here by King Jagiellon, with support of the local starosta, Dominik z Kazanowa. The complex was originally made of wood (until 1507). In 1481, Radom became the residence of Prince Kazimierz, the son of