However, the rebel fleet was defeated on 18 April 727 by the loyalist navy through the use of Greek fire. Agallianos drowned when he fell from the board of his ship into the sea in full armour, while Stephen and Kosmas were captured and beheaded.[1] On account of his surname "Kontoskeles" ("short-leg"), the Patria of Constantinople erroneously involves him in the construction of the Kontoskalion harbour in Constantinople.[1]