The bombardment began on the night of 26–27 June, and two hundred and twenty two bombs, launched in less than twenty four hours, started fires in Algiers and prompted general disorder as well as killing around 300 Algerians. Hassan Dey intended to resist nonetheless, but the population urged him to sue for peace. Duquesne agreed to a truce on condition that all Christian slaves were delivered to him. When the truce expired, Hassan Dey asked for, and received, an extension. Duquesne meanwhile set out his terms for agreeing a peace: • freeing all Christian slaves • an indemnity equal to the value of all the goods seized from France by pirates • a solemn embassy to be sent to Louis XIV to ask his forgiveness for the hostile acts committed against his navy. These terms resolved the Dey to continue resistance. Before a peace treaty could be signed though, Baba Hassan was deposed and killed by a Raïs called
Mezzo Morto Hüseyin. Continuing the war against France, the bombardments resumed, killing many victims. Mezzomorto threatened, if the firing did not cease, to put the Christian captives at the mouths of the cannons, still the bombardments continued. So he carried out his threats. One of the Algerian commanders,
Mezzo Morto Hüseyin Pasha, then seized command and denounced the cowardice of the Dey, for agreeing to treat with the French. He had him put to death and was acclaimed as his successor by the
janissaries. Before long a red flag, raised from the heights of the
Casbah, announced to Duquesne that combat was resumed. On 28 July pieces of his shattered limbs fell on the decks of the French vessels, along with those of other French prisoners blown to pieces. Despite the fierce resistance of the Algerians, the city was engulfed by an enormous fire which consumed palaces, mosques, and many other buildings across the city; the wounded could not find any refuge; and ammunition ran low. Algiers would have been reduced to ruins had not Duquesne himself run out of missiles. The bombardment ended on 29 July. The pride of the Algerian pirates was crushed, and as the French fleet returned to France, Algiers sent an embassy under Djiafar-Aga-Effendi to ask forgiveness of Louis XIV, for the injuries and cruelty that the corsairs had inflicted on France. • Freedom of trade between the two countries, • Liberation of slaves, • Respect of the free passage for naval vessels, • Free exercise of the Christian religion, • Establishment of lists of products that are negotiable between the two countries, • Assurance given to the Dey that his ambassador in Paris could ensure compliance with the treaty. ==Bombardment of Algiers (1688)==