noun
pact
PAKT/pækt/
A formal agreement between people, groups, or countries.
The representatives seal their pact with a handshake.

Etymology
Latin pactum named an agreement, contract, or covenant. It was formed from a verb meaning 'to agree or make a treaty,' so a pact names the agreement reached.
In context
Greece has recently just signed an agreement with the Israelis, a military pact between the two of them over the Mediterranean.