 Andrić's relationship with the communists was initially precarious given he had previously been an official in the royalist government. He returned to public life only once the Germans had been forced out of Belgrade. Na Drini ćuprija was published in March 1945. It was followed by Travnička hronika that September and Gospođica (The Young Lady) that November. Na Drini ćuprija came to be regarded as Andrić's magnum opus and was proclaimed a classic of Yugoslav literature by the communists. It chronicles the history of the Mehmed Paša Sokolović Bridge and the town of Višegrad from the bridge's construction in the 16th century until the outbreak of World War I. The second novel, Travnička hronika, follows a French diplomat in Bosnia during the Napoleonic Wars. The third, Gospođica, revolves around the life of a Sarajevan woman. In the post-war period, Andrić also published several short story collections, some travel memoirs, and a number of essays on writers such as Vuk Karadžić, Petar II Petrović-Njegoš, and Petar Kočić.
