On his way to Egypt, Bonaparte makes a short stopover in Malta. In only two days, he abolished the privileges in place there and freed two to three thousand enslaved Muslims.
He then appointed a commander of the islands of Malta and Gozzo, General Vaubois, and left a garrison of more than 3,000 men. To compensate (partially) for the losses, and because they had a good knowledge of Arabic, Bonaparte took 358 Maltese with him to Egypt.
They will constitute the Maltese Legion.