As Donald Trump continued his attacks on Iran earlier this month, a deal that could radically reshape security in the Middle East was quietly being done in Saudi Arabia.
On 7 August, Pakistan, Saudi Arabia and Turkey signed the Mecca Joint Defence agreement, a Nato-style mutual defence pact that states an attack on any one of the group will be considered an attack on all.