Wrocław () has long been the largest and culturally dominant city in Silesia, and is today the capital of Poland's Lower Silesian Voivodeship, and the country's third most populous city proper.

The history of Wrocław dates back over 1,000 years. In 1000, it became the seat of the Diocese of Wrocław, one of the oldest Catholic dioceses of Poland. Wrocław was one of the centres of the Duchy and then Kingdom of Poland, and briefly, in the first half of the 13th century, the centre of half of the divided Kingdom of Poland. German settlers arrived in increasing numbers after the first Mongol invasion of Poland in 1241. The city developed into an important centre of trade and later became part of the Bohemian Crown Lands and the Holy Roman Empire under the Treaty of Trentschin of 1335. In 1526, it came under Habsburg rule as part of the Bohemian Crown. After the War of Austrian Succession, Austria ceded the city and region to the Kingdom of Prussia in the Treaty of Breslau of 1742. Following the unification of Germany, Breslau became part of the German Reich in 1871. The city was the economic, cultural and scientific centre of eastern Germany with the University of Breslau producing nine Nobel Prize laureates. During World War II, the Nazis operated multiple forced labour camps and prisons throughout the city. In the final phase of the war, the city was besieged by the Red Army in the Battle of Breslau and suffered extensive destruction as a result of the combat. After the war, the city became part of Poland and the German-speaking majority of its population was expelled to the remainder of Germany in accordance with the Potsdam Agreement.

Origin The city of Wrocław originated as a stronghold situated at the intersection of two long-existing trading routes, the Via Regia and the Amber Road. The city was founded in the 10th century, possibly by a local duke Wrocisław, who may also be the city's namesake. At the time the city was limited to the district of Ostrów Tumski (the Cathedral Island)Dariusz Andrzej Sikorski, Wczesnopiastowska architektura sakralna (jako źródło historyczne dla dziejów Kościoła w Polsce), Wydawnictwo Poznańskiego Towarzystwa Przyjaciół Nauk, Poznań 2012, and was first mentioned by Thietmar of Merseburg in 1000 as "Wrotizlava".

Poland

In 985 Duke Mieszko I of Poland of the Piast dynasty conquered Silesia and Wrocław. In 1000 Mieszko's son, Duke and future King Bolesław I of Poland, in the then capital of Poland, Gniezno, established the Bishopric of Wrocław (as one of the oldest bishoprics of Poland and the first bishopric of Silesia) along with the bishoprics of Kraków and Kołobrzeg and the Archbishopric of Gniezno. It was a suffragan of the Archbishopric of Gniezno, the See independent of the German Archbishopric of Magdeburg, which had tried to lay claim to jurisdiction over the Polish church. The city quickly became a commercial centre and expanded rapidly to the neighbouring Wyspa Piaskowa (Sand Island) and then to the left bank of the Odra river. Hugo Weczerka writes that around 1000 the town had approximately 1000 inhabitants.Weczerka, p. 39 An uprising in took place in 1037-1038 against the church and probably also against the bishop and the representatives of the Polish king, who were expelled.Weczerka, p. 40 In 1038 the city fell to Bohemia and in 1054 it was regained by Poland. The Gesta principum Polonorum chronicle from the 1110s named Wrocław one of the three political centers of the Polish Kingdom alongside Kraków and Sandomierz. In 1138 it became the capital of the Piast-ruled Duchy of Silesia, which slowly detached from Poland. By 1139 two more settlements were built. One belonged to Governor Piotr Włostowic (a.k.a. Piotr Włast Dunin; ca. 1080–1153) and was situated near his residence on the Olbina by the St. Vincent's Benedictine Abbey. The other settlement was founded on the left bank of the Oder River, near the present seat of the university. It was located on the Via Regia that lead from Leipzig and Legnica and followed through Opole, and Kraków to Kievan Rus'. Polish, Bohemian, Jewish, WalloonNorman Davies "Mikrokosmos" page 110-115 and German communitiesWeczerka, p. 41 existed in the city.

In the first half of the 13th-century duke Henry I the Bearded of the Silesian line of the Piast dynasty, managed to reunite much of the divided Polish kingdom. He became the duke of Kraków (Polonia Minor) in 1232, which gave him the title of the senior duke of Poland (see Testament of Bolesław III Krzywousty). Henry started striving for the Polish crown. His activity in this field was continued by his son and successor Henry II the Pious whose work towards this goal was halted by his sudden death in 1241 (Battle of Legnica). Polish territories acquired by the Silesian dukes in this period are called "The monarchy of the Silesian Henries".R. Żerelik [in:] M. Czapliński (red.) Historia Śląska, Wrocław 2007, p. 57, Wrocław was the centre of the divided Kingdom of Poland.

The city was devastated in 1241 during the first Mongol invasion of Poland. The inhabitants burned down their own city to force the Mongols to a quick withdrawal. The invasion, according to Norman Davies, led German historiography to portray the Mongol attack as an event which eradicated the Polish community. However, in light of historical research this is doubtful, as many Polish settlements remained, even in the 14th century, especially on the right bank of the Oder and Polish names such as Baran or Cebula appear including among Wrocław's ruling elite.Microcosm: A Portrait of a Central European City [Paperback] Norman Davies, Roger Moorhouse, page 90, Pimlico; 2003 "Fighting between Poles and Czechs were recorded in 1314. It would be particularly out of place to assume that the Polish element was decimated. The villages on the right bank of the Odra remained solidly Polish, while Polish names such as Baran or Cebula figured regularly, even among the city's patricians"

Georg Thum, Maciej Lagiewski, Halina Okolska and Piotr Oszczanowski write that the decimated population was replenished by many Germans.Thum, p. 316 A different thesis is presented by Norman Davies who writes that it is wrong to portray people of that time as "Germans" as their identities were those of Saxons and Bavarians, while historian Norbert Conrads argues that a Polish identity didn't exist either, a view shared by Czech author František R. Kraus. Many of the German speaking Silesians were related to the Teutonic Knights from further north, Konigsberg. This includes the nobles who survived the Battle of Legnica in 1241. While Germanisation started, Norman Davies writes that "Vretslav was a multi-ethnic city in the Middle Ages. Its ethnic composition moved in an endless state of flux, changing with each political and cultural ebb and flow to which it was exposed".Microcosm: A Portrait of a Central European City [Paperback] Norman Davies, Roger Moorhouse, page 134, Pimlico; 2003 German author Georg Thum states that Breslau, the German name of the city, appeared for the first time in written records, and the city council from the beginning used only the Latin and German.

In 1245, in Wrocław, Franciscan friar Benedict of Poland, considered one of the first Polish explorers, joined Italian diplomat Giovanni da Pian del Carpine, on his journey to the seat of the Mongol Khan near Karakorum, the capital of the Mongol Empire. It was the first such journey by Europeans, and they returned with the letter from Güyük Khan to Pope Innocent IV.

The rebuilt town adopted Magdeburg rights in 1262 and, at the end of the 13th century joined the Hanseatic League. The expanded town was around 60 hectares in size and the new Main Market Square (Rynek), which was covered with timber-framed houses, became the new centre of the town. The original foundation, Ostrów Tumski, was now the religious centre. In 1273, Piwnica Świdnicka, one of the oldest still operating restaurants in Europe, was opened. With the ongoing Ostsiedlung the Polish Piast dynastyEncyklopedia Powszechna PWN Warsaw 1975 vol. III page 505 dukes remained in control of the region, however, their influence declined continuously as the self-administration rights of the city council increased. German historian Norbert Conrads writes that they adopted the German language and culture and became Germanized in the 13th century.Conrads, p. 100 Wrocław – despite the beginnings of Germanization – remained in close union with the Polish church, and local Piasts remained active in Polish politics, while Polish was still used in the court as late as the 14th century. Rather, the Silesian Piasts had a carefully planned Germanization policy, whose aim was not necessarily to join the Holy Roman Empire.Microcosm: A Portrait of a Central European City [Paperback] Norman Davies, Roger Moorhouse, page 88-89, Pimlico; 2003

The main source of the city's prosperity was trade between Poland and Ruthenia and Western Europe, and crafts also contributed to the city's wealth.

During much of the Middle Ages, Wrocław was ruled by Dukes of the Piast dynasty. In 1335 the last Piast Duke of Wrocław, Henry VI the Good, died. With the Treaty of Trentschin the city passed to John of Luxembourg, who fought a war with Casimir the Great over Silesia. John died while fighting in France and the war ended inconclusively. The issue was resolved only in 1372 by an agreement between Charles IV of Luxembourg and Louis I of Hungary; and while the city lost political ties to the Polish state, it remained connected to Poland by religious links and the existence of Polish population within it.Microcosm, page 103 Jan Długosz described the foreign rule over Wrocław as unlawful and expressed his hope that it would eventually return to Poland.Długosz, ks. IX, s 153

The bishops of Wrocław was known as the prince-bishops ever since Bishop Przecław of Pogorzela (1341–1376) bought the Duchy of Grodków from Duke Bolesław III the Generous and added it to the episcopal Duchy of Nysa, after which the Bishops of Wrocław had the titles of Prince of Nysa and Dukes of Grodków, taking precedence over the other Silesian rulers.

Bohemia and Hungary In 1348, the city was incorporated with almost the entirety of Silesia into the Lands of the Bohemian Crown, and a Landeshauptmann (Provincial governor) was appointed to administrate the region. Between 1342 and 1344 two fires destroyed large parts of the city. Despite the annexation by Bohemia, trade still took place mainly between Poland and Western Europe. In 1352 Bohemian King Charles IV, who was also elected King of Germany, visited the town. His successors Wenceslaus and Sigismund became involved in a long-lasting feud with the city and its magistrate, culminating in the revolt of the guilds in 1418 when local craftsmen killed seven councillors. In a tribunal two years later, when Sigismund was in town, 27 ringleaders were executed. He also called up for a Reichstag in the same year, which discussed the earlier happenings in the city.

In June 1466, in Wrocław, Polish diplomat Jan Długosz held a meeting with a papal legate, starting a peace process between Poland and the Teutonic Order, which a few months later culminated in the signing of the Second Peace of Thorn that ended the Thirteen Years' War, the longest of Polish–Teutonic wars.