then in 627, abu sufyan led the quraysh and its allies to attack medina itself. however, they could not pass the trench that the muslims had dug around medina. after several weeks, the coalition broke up and went home. the medinians were considered victors.