in 1827, the dey invited a french ambassador to pay some of the debt. the encounter resulted into a conflict in which the algerian dey hit the french consul in the face with a fly-whisk. the french were furious and decided to blockade the algerian city of algiers. however, historians agree that the fly-whisk incident, as serious as it was, was only a pretext.