Thamal, with his 25 ships carrying Greek fire, arrived in time to prevent the Fatimid ships from entering the Rosetta branch of the Nile, and on 12 March, near Abukir, he inflicted a crushing defeat on the Fatimid fleet, whose vessels were driven to the shore by the wind.[7][11] Most of the Fatimid crews were either killed or captured. The prisoners were brought to al-Maqs on the Nile, where Takin released most of the ordinary sailors, while admiral Sulayman and 117 of his officers paraded around publicly in Fustat. The Kutama and the black guardsmen (Zawila), some 700 men in total, were delivered to the mob to be lynched.[13]