Original sentence: In return for allowing Jews their religious and cultural autonomy, the pact made between Muhammad and the Jews demanded their political loyalty; however, the Jewish tribes tended to resist both religious and political cooperation with the Muslims, and also cooperated with Muslim's enemies.When a delegation from Medina invited him to serve as the chief arbitrator for the entire community, Muhammad drew a pact known as the Constitution of Medina which specified the rights and duties of all citizens and the relationship of the Muslim community to other communities
Edited sentence: According to the pact between Muhammad and the Jews, the latter assured their political loyalty while retaining their religious and cultural autonomy.When a delegation from Medina invited him to serve as the chief arbitrator for the entire community, Muhammad drew a pact later known as the Constitution of Medina which specified the rights and duties of all citizens and the relationship of the Muslim community to other communities