Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. The Naval Battle of Casablanca was a series of naval engagements fought between American ships covering the invasion of North Africa and Vichy French ships defending the neutrality of French Morocco in accordance with the Second Armistice at Compiègne during World War II. The last stages of the battle consisted of operations by German U-boats which had reached the area the same day the French troops surrendered. Allied military planners anticipated an all-American force assigned to seize the Atlantic port city of Casablanca might be greeted as liberators. An invasion task force of 102 American ships carrying 35,000 American soldiers approached the Moroccan coast undetected under cover of darkness.