The defeat of the NDH in mid-May 1945 was followed by mass killings of Croat prisoners at the hands of the Communist forces and the establishment later that year of a pro-Soviet (until mid-1948) one-party Communist Federal People's Republic of Yugoslavia, the People's Republic of Croatia being one of its constituent republics. The USSR maintained a consulate general in Zagreb.