The source of authority was transferred from public opinion to God.[28] Bernard Lewis writes the community at Medina became a new kind of tribe with Muhammad as its sheikh, while at the same time having a religious character.[29] Watt argues that Muhammad's authority had not extended over the entirety of Medina at this time, such that in reality he was only the religious leader of Medina, and his political influence would only become significant after the Battle of Badr in 624.[30] Lewis opines that Muhammad's assumption of the role of statesman was a means through which the objectives of prophethood could be achieved.[31] The constitution, although recently signed, was soon to be rendered obsolete due to the rapidly changing conditions in Medina,[6] with certain tribes having been accused of breaching the terms of agreement.