Yugoslav Partisans committed various massacres, notably as part of the so-called "leftist errors". At the end of the war, the Partisans "purged" in Serbia (1944–45), and massacred thousands in the Bleiburg repatriations and Foibe massacres at the end and immediate aftermath of the war.