Carol II was forced to abdicate in 1940, and Michael once again became king. Under the government led by the military dictator Ion Antonescu, Romania became aligned with Nazi Germany. In 1944, Michael participated in a coup against Antonescu, appointed Constantin Sănătescu as his replacement, and subsequently declared an alliance with the Allies. In March 1945, political pressures forced Michael to appoint a pro-Soviet government headed by Petru Groza. From August 1945 to January 1946, Michael went on a "royal strike" and unsuccessfully tried to oppose Groza's Communist-controlled government by refusing to sign and endorse its decrees. In November 1947, Michael attended the wedding of his cousins, the future Queen Elizabeth II of the United Kingdom and Prince Philip of Greece and Denmark in London. Shortly thereafter, on the morning of 30 December 1947, Groza met with Michael and compelled him to abdicate. Michael was forced into exile, his properties confiscated, and his citizenship stripped. In 1948, he married Princess Anne of Bourbon-Parma (thenceforth known as Queen Anne of Romania), with whom he had five daughters, and the couple eventually settled in Switzerland.