 Another Moroccan embassy to France in 1781 was sent, but failed to be recognized on the pretext that the title of the king of France had not been properly rendered.After the troubled periods of the French Revolution and the Napoleonic Wars, France again showed a strong interest in Morocco in the 1830s, as a possible extension of her sphere of influence in the Maghreb, after Algeria and Tunisia.The First Franco-Moroccan War took place in 1844, as a consequence of Morocco's alliance with Algeria's Abd-El-Kader against France.