Only Madrid and a few other strongholds remained for the Republican forces. On 5 March 1939 the Republican army, led by the Colonel Segismundo Casado and the politician Julián Besteiro, rose against the prime minister Juan Negrín and formed the National Defence Council (Consejo Nacional de Defensa or CND) to negotiate a peace deal.
Negrín fled to France on 6 March, but the Communist troops around Madrid rose against the junta, starting a brief civil war within the civil war. Casado defeated them, and began peace negotiations with the Nationalists, but Franco refused to accept anything less than unconditional surrender.
On 15 March 1939, in violation of the Munich accord and possibly as a result of the deepening economic crisis requiring additional assets, Hitler ordered the Wehrmacht to invade Prague, and from Prague Castle he proclaimed Bohemia and Moravia a German protectorate.