After the sinking of "Szent István", the remaining three ships of the class returned to port in Pola where they remained for the rest of the war. When Austria-Hungary was facing defeat in the war in October 1918, the Austrian government decided to transfer "Viribus Unitis" to the newly formed State of Slovenes, Croats and Serbs in order to avoid having to hand the ship over to the Allied Powers. Renamed "Jugoslavija", the ship was destroyed by an Italian mine in the Raid on Pola a day later. Following the Armistice of Villa Giusti in November 1918, "Prinz Eugen" was ceded to France where she was sunk as a target ship in 1922, while "Tegetthoff" was handed over to Italy and scrapped between 1924 and 1925. The wreck of "Viribus Unitis" was salvaged from Pola harbor and broken up between 1920 and 1930.