Pro-Allied elements in Algeria had agreed to support the Allied landings, and in fact seized Algiers on the night of 7–8 November; the city was then occupied by Allied troops. However, resistance continued at Oran and Casablanca. Giraud flew to Algiers on 9 November, but his attempt to assume command of French forces was rebuffed; his broadcast directing French troops to cease resistance and join the Allies was ignored. Instead, it appeared that Admiral François Darlan, who happened to be in Algiers, had real authority, and Giraud quickly realized this. Despite the fact that Darlan was the "de facto" head of the Vichy government, the Allies recognized him as head of French forces in Africa, and on 10 November, after agreeing to a deal, Darlan ordered the French forces to cease fire and join the Allies.