Michael IV defeated the Bulgarians under Manuel Ibatzes, the final supporter of the blinded Peter Deljan. Michael breached Ibatzes' wooden defences at Prilep, dispersed the Bulgarian army, arrestred Ibatzes along with Deljan, and set the Bulgarian affairs in order