Since October of 1822, and after the devastating defeat at Peta (July 1822), Messolonghi had been blocked both from land (by Omer Vryonis and Kutahi, who commanded 11,000 men) and from the sea (by Yusuf Pasha). The besieged people of Messolonghi were in a grave situation because of the lack of necessary provisions. On the other hand, the Ottomans lost valuable time in lengthy negotiations toward a compromise, initiated by Alexandros Mavrokordatos and Markos Botsaris, who were defending the city. During this time, Andreas Miaoulis broke the naval blockade and supplied Messolonghi with provisions, ammunition, and 1,000 men. The Ottomans' raid against the besieged city, which took place on the night of the 24th to December 25, had leaked to the Greek side, so the fighters were on full alert. The Ottomans were completely destroyed, and finally, on December 31, they lifted the siege.