 Operation Torch , the Allied invasion of French North Africa in November 1942 , was coordinated from the " Rock " . General Dwight D. Eisenhower , who was given command of the operation , set up his headquarters in Gibraltar during the planning phases of the operation . Following the successful completion of the North African campaign and the surrender of Italy in 1943 , Gibraltar 's role shifted from a forward operating base to a rear @-@ area supply position . The harbour continued to operate dry docks and supply depots for the convoy routes through the Mediterranean until V @-@ E Day in 1945 . 
 Operation Torch , the Allied invasion of French North Africa in November 1942 , was coordinated from the " Rock " . General Dwight D. Eisenhower , <a href='null_relcl' title='1'><mark>who</mark></a>was given command of the operation , set up his headquarters in Gibraltar during the planning phases of the operation . Following the successful completion of the North African campaign and the surrender of Italy in 1943 , Gibraltar <a href='null_genetive' title='2'><mark>'s</mark></a>role shifted from a forward operating base to a rear @-@ area supply position . The harbour continued to operate dry docks and supply depots for the convoy <a href='uninflect' title='3'><mark>routes</mark></a> through the Mediterranean until V @-@ E Day in 1945 . 
Operation Torch , the Allied invasion of French North Africa in November 1942 , was coordinated from da " Rock " . General Dwight D. Eisenhower , was given command of tdaoperation , set up his headquarters in Gibraltar during thdalannin phases of the operation . Following the successful completion of the North African campaign and the surrender of Italy in 1943 , Gibraltar  role shifted from a forward operating base to a rear @-@ area supply position . The harbour continued to operate dry docks and supply depots for the convoy route thru thedaditerranean till V @-@ E Day in 1945 .