Original sentence: The Socialist Republic of Macedonia (Macedonian: Социјалистичка Република Македонија, Socijalistička Republika Makedonija), formerly the People's Republic of Macedonia (Народна Република Македонија, Narodna Republika Makedonija) was the name of today's Republic of Macedonia whilst being a federal state in the former Socialist Federal Republic of Yugoslavia
Edited sentence: The Socialist Republic of Macedonia (Macedonian: Социјалистичка Република Македонија, Socijalistička Republika Makedonija), formerly the People's Republic of Macedonia (Народна Република Македонија, Narodna Republika Makedonija) was the name of today's Former Yugoslav Republic of Macedonia (FYROM) whilst being a federal state in the former Socialist Federal Republic of Yugoslavia