It also set out a mutual understanding between Judaism and Islam: followers of both religions pledged to defend each other in the event that either was attacked by any third party; no harm would come to Jews, and no help would be given to their enemies.