The history of Munich, the capital of Bavaria and one of the largest cities in Germany, is rooted in the early Middle Ages. The city owes its emergence and even its name to monks, whose settlement on the Isar River gave rise to the future metropolis. The name München comes from the Old High German word Munichen, meaning "by the monks." The first monks from the Tegernsee Abbey settled on the hill where St. Peter's Church stands today, as early as the 8th century. However, the official date of the city's founding is considered to be 14 June 1158.
A key role in the founding of Munich was played by the Duke of Bavaria and Saxony, Henry the Lion. In 1158, he destroyed an old bridge and customs house belonging to the bishop and built a new bridge across the Isar River. This move allowed him to take control of the strategically important salt trade route — one of the main sources of revenue at that time. Thanks to its advantageous geographical position and control over the salt trade, the settlement began to grow rapidly. By 1175, Munich received city status, and the first defensive walls were erected around it.
In 1240, the city passed into the possession of the Wittelsbach dynasty, which ruled Bavaria until 1918. From 1255, Munich became their residence, which gave a powerful impetus to its development. In 1507, following the unification of Bavarian lands, the city was proclaimed the capital of all Bavaria. The city's early economy was closely linked to trade and craftsmanship. They minted their own coins and regularly held market fairs here. Cultural development also flourished: rulers from the Wittelsbach dynasty patronised the arts, laying the foundations for Munich's future famous museums.