The Slavs under the Avars attempted to attack the sea walls from across the Golden Horn, while the main Avar host attacked the land walls. Patrician Bonus' galleys rammed and destroyed the Slavic boats; the Avar land assault from 6 August to the 7th also failed.[14] With the news that Theodore had decisively triumphed over Shahin (supposedly leading Shahin to die from depression), the Avars retreated to the Balkan hinterland within two days, never to seriously threaten Constantinople again. Even though the army of Shahrbaraz was still encamped at Chalcedon, the threat to Constantinople was over.[11][12] In thanks for the lifting of the siege and the supposed divine protection of the Virgin Mary, a new proemium for the celebrated Akathist Hymn was written by an unknown author, possibly Patriarch Sergius or George of Pisidia.[15][16][17]