 The culmination of this was the Battle of Bu'ath in 617, in which the Khazraj and their allies, Qaynuqa, has been soundly defeated by the coalition of Aus and its supporters.Although formal combat between the two clans had ended, hostilities between them continued even up until Muhammad's arrival in Medina.Muhammad had been invited by some Medinans, who had been impressed by his religious preaching and manifest trustworthiness, as an arbitrator to help reduce the prevailing factional discord.