Original sentence: All Yugoslav flags (including the first ones) were variations on the Pan-Slavic flag adopted at the Pan-Slavic Conference in Prague in 1848.Soon afterward the Yugoslav resistance, the Partisans, was formed.The Kingdom of Serbs, Croats and Slovenes was established on December 1, 1918 and was renamed the Kingdom of Yugoslavia on October 3, 1929.The Pan-Slavic flag was a plain blue-white-red tricolor in the horizontal sense against a vertical staff, and the national flag and civil and state ensign during the 1918-1943 period (Kingdom of Yugoslavia) was exactly the same.The naval ensign during the period was the blue-white-red tricolor with the simplified lesser coat of arms of Yugoslavia.The state's first flag was officially adopted in 1922
Edited sentence: Soon afterward the Partisans, a reistance group, was formed