 The region received the status of a constituent republic within Yugoslavia and in 1945 a separate Macedonian language was codified.The population was proclaimed to be ethnic Macedonian, a nationality different from both Serbs and Bulgarians.With the proclamation of the Socialist Republic of Macedonia as part of the Yugoslav federation, the new authorities also enforced measures that would overcome the pro-Bulgarian feeling among parts of its population.