The war began on August 6, 1844, when a French fleet under the command of the Prince de Joinville conducted a naval bombardment of the city of Tangiers.
Essaouira, Morocco's main Atlantic trade port, was attacked in the Bombardment of Mogador and briefly occupied by Joinville on August 16, 1844.