World War II: Sarajevo is liberated from German and Croatian forces by the Yugoslav Partisans.

The Yugoslav Partisans, or the National Liberation Army, officially the National Liberation Army and Partisan Detachments of Yugoslavia, was the communist-led anti-fascist resistance to the Axis powers (chiefly Germany) in occupied Yugoslavia during World War II. Led by Josip Broz Tito, the Partisans are considered to be Europe's most effective anti-Axis resistance movement during World War II.Primarily a guerilla force at its inception, the Partisans developed into a large fighting force engaging in conventional warfare later in the war, numbering around 650,000 in late 1944 and organized in four field armies and 52 divisions. The main stated objectives of the Partisans were the liberation of Yugoslav lands from occupying forces and the creation of a federal, multi-ethnic socialist state in Yugoslavia.

The Partisans were organized on the initiative of Tito following the Axis invasion of Yugoslavia in April 1941, and began an active guerrilla campaign against occupying forces after Germany invaded the Soviet Union in June. A large-scale uprising was launched in July, later joined by Draa Mihailovi's Chetniks, which led to the creation of the short-lived Republic of Uice. The Axis mounted a series of offensives in response but failed to completely destroy the highly mobile Partisans and their leadership. By late 1943 the Allies had shifted their support from Mihailovi to Tito as the extent of Chetnik collaboration became evident, and the Partisans received official recognition at the Tehran Conference. In Autumn 1944, the Partisans and the Soviet Red Army liberated Belgrade following the Belgrade Offensive. By the end of the war, the Partisans had gained control of the entire country as well as Trieste and Carinthia. After the war, the Partisans were reorganized into the regular armed force of the newly established Federal People's Republic of Yugoslavia.

Sarajevo ( SARR-ə-YAY-voh; Cyrillic: Сарајево, pronounced [sǎrajeʋo] (listen); see names in other languages) is the capital and largest city of Bosnia and Herzegovina, with a population of 275,524 in its administrative limits. The Sarajevo metropolitan area including Sarajevo Canton, East Sarajevo and nearby municipalities is home to 555,210 inhabitants. Located within the greater Sarajevo valley of Bosnia, it is surrounded by the Dinaric Alps and situated along the Miljacka River in the heart of the Balkans, a region of Southern Europe.

Sarajevo is the political, financial, social and cultural center of Bosnia and Herzegovina and a prominent center of culture in the Balkans, with region-wide influence in entertainment, media, fashion and the arts. Due to its long history of religious and cultural diversity, Sarajevo is sometimes called the "Jerusalem of Europe" or "Jerusalem of the Balkans". It is one of only a few major European cities to have a mosque, Catholic church, Orthodox church and synagogue within the same neighborhood.Although settlement in the area stretches back to prehistoric times, the modern city arose as an Ottoman stronghold in the 15th century. Sarajevo has attracted international attention several times throughout its history. In 1885, Sarajevo was the first city in Europe and the second city in the world to have a full-time electric tram network running through the city, following San Francisco. In 1914, it was the site of the assassination of Archduke Franz Ferdinand by local Young Bosnia activist Gavrilo Princip that sparked World War I, which also ended Austro-Hungarian rule in Bosnia and resulted in the creation of the Kingdom of Yugoslavia. Later, after World War II, the establishment of the Socialist Republic of Bosnia and Herzegovina within the Second Yugoslavia led to a massive expansion of Sarajevo, then the constituent republic's capital, which culminated with the hosting of the 1984 Winter Olympics marking a prosperous era for the city. However, after the start of the Yugoslav Wars, for 1,425 days from April 1992 to February 1996, the city suffered the longest siege of a capital city in the history of modern warfare, during the Bosnian War and the breakup of Yugoslavia.Sarajevo has been undergoing post-war reconstruction, and is the fastest growing city in Bosnia and Herzegovina. The travel guide series Lonely Planet named Sarajevo as the 43rd best city in the world, and in December 2009, listed Sarajevo as one of the top ten cities to visit in 2010. In 2011, Sarajevo was nominated to be the 2014 European Capital of Culture and in 2019, it hosted the European Youth Olympic Festival. In October 2019, Sarajevo was designated as a UNESCO Creative City for placing culture at the center of its development strategies, and is one of the world's eighteen Cities of Film.