StuG IIIs were also exported to other nations friendly to Germany, including Bulgaria, Hungary, Italy, and Spain. Hungary fielded its StuG IIIs against Soviet forces as they invaded their country in end-1944 up until early 1945. As with Hungary, Bulgaria received several StuGs from Germany too but almost none saw service against the Soviets, the country having ended the alliance with Germany by switching sides to the Allies before the Soviets invaded. Post-WWII, these were used for a short time before being turned into fixed gun emplacements on the Krali Marko Line on the border with neighbouring Turkey. StuG IIIs were also given to the pro-German Ustashe Militia in Yugoslavia, most of which were captured in Yugoslavia by Tito's Yugoslav partisans during and after the war, as did German-operated vehicles. These were used by the Yugoslav People's Army until the 1950s when they were replaced by more modern combat vehicles. Spain received a small number (around 10) of StuG IIIs from Germany during WWII, later sold to Syria between 1950 and 1960. Italy received the smallest number of StuG IIIs Germany distributed in the war, with only 3.