The first Macedonian state was formally proclaimed under the name
Democratic Federal Macedonia () at the First Plenary Session of the
Anti-Fascist Assembly for the People's Liberation of Macedonia (ASNOM)
during World War II. It was set up clandestinely on 2 August 1944 in the
Bulgarian occupation zone in Yugoslavia (in the
Prohor Pčinjski Monastery, now in
Serbia). This date is celebrated in North Macedonia as the
Republic Day. It was chosen intentionally, as it was the date of the
Ilinden Uprising against
Ottoman rule in 1903. However, after the Bulgarian Army retreated from the region under Soviet pressure, on 8 September, right-wing
Internal Macedonian Revolutionary Organization nationalists declared a pro-German
Macedonian puppet-state. In early October, under the leadership of the new Bulgarian pro-Soviet government, the Bulgarian Army re-entered Yugoslavia to block the German forces in their withdrawal from Greece. In Macedonia the Bulgarians fought side-by-side with the fighters of the
People's Liberation Army of Macedonia.
Vardar Banovina was
de facto liberated from the Germans and their collaborationists in late November 1944, so the ASNOM became operational in December, shortly after the German retreat. Nevertheless, in December anti-communist Albanian nationalists in Western Macedonia tried to remain in control of the region after the Yugoslav Partisans announced victory. They aimed to resist incorporation of the area into communist Yugoslavia and it was only in early 1945 that the Yugoslav Partisans were able to establish their control over the mountainous area. The nature of the new Yugoslav state remained unclear immediately after the war. Yugoslavia was envisioned by the Partisans as a "Democratic Federation", including six federal states. When Tito's nomination as Prime Minister was accepted on 29 November 1945, the
Socialist Federal Republic of Yugoslavia was declared, with its constitution coming into force in 1946. As a result, Macedonia changed its name to the '''
People's Republic of Macedonia''' and was incorporated as a
constituent republic in the Yugoslav
Federation. People with various degrees of allegedly being pro-Bulgarian orientation (in the most cases they were pro-Independence and anti-Yugoslav patriotic Macedonians) were purged from their positions, then isolated, arrested and imprisoned on fabricated charges. In many cases they were executed en masse, such as during the
Bloody Christmas of 1945. The number of victims remains unclear, Bulgarian academic sources claim 1,200 people were allegedly killed. Revisionist historian
Zoran Todorovski estimated the number of victims during the era as 50,000, including those killed, imprisoned, deported, subject to forced labor, torture, etc. However, these figures have been questioned by some Bulgarian researchers, also noting that the assertion that these individuals were persecuted and killed solely on account of their Bulgarian national consciousness is deceptive. The national
Macedonian language was codified in 1945 and the first publishing house "Prosvetno Delo" was established on 16 April 1945. The state was formed on the territory of
Vardar Banovina, a part of the wider
geographical region of Macedonia, which was divided between several countries. Some Macedonian politicians from the Republic advocated the idea of a
United Macedonia, which would include
Aegean Macedonia and
Pirin Macedonia. The idea was somewhat supported by the federal Yugoslav authorities on some occasions, or repressed, depending on the regional and international political situation. The establishment of the Macedonian republic inspired strong loyalty to the Yugoslav federation among the Macedonians. Some people were against the federation and demanded
greater independence from the federal authorities, leading to their persecution. One of the notable victims of these purges was the first
president,
Metodija Andonov-Čento. To wipe out the remnants of
Bulgarophile sentiments, the Yugoslavian communists started a process of Macedonization and
nation-building. ==Constitution==