The primary objective of the Allied landings was to secure bridgeheads for opening a second front to the rear of German and Italian forces battling the British in Libya and Egypt. However, resistance by the nominally neutral or potentially pro-German Vichy French forces needed to be overcome first.