The royal question (question royale, Koningskwestie) was a major political crisis in Belgium that lasted from 1945 to 1951, coming to a head between March and August 1950. The question at stake surrounded whether King Leopold III could return to the country and resume his constitutional role amid allegations that his actions during World War II had been contrary to the provisions of the Belgian Constitution. It was eventually resolved by the abdication of Leopold in favour of his son King Baudouin in 1951. The crisis emerged from the division between Leopold and his Government, led by Prime Minister Hubert Pierlot, during the German invasion of 1940. Leopold, who was suspected of authoritarian sympathies, had taken command of the Belgian Army at the outbreak of war. Considering his constitutional position as commander-in-chief to take precedence over his civil role as head of state, he refused to leave his army and join the Belgian government in exile in France. Leopold's refusal to obey the Government marked a constitutional crisis and, after having negotiated the surrender to the Germans on 28 May 1940, King Leopold was widely condemned. During the subsequent German occupation, Leopold was held under house arrest in his palace where he was praised for stoically sharing the suffering of ordinary Belgians. Shortly before the Allies liberated the country in 1944, he was deported to Germany by the Nazis. With Belgium liberated but the King still in captivity, Leopold was declared officially "unable to rule" in accordance with the constitution and his brother, Prince Charles, Count of Flanders, was elected regent. The country was divided along political lines over whether Leopold could ever return to his functions, and with a dominantly left wing government in Belgium, Leopold went into exile in Switzerland. In 1950, a national referendum was organised by a new centre-right government to decide on whether Leopold could return.