pact has definitions from the fields of law,writing
1
[ noun ] (law,writing) a written agreement between two states or sovereigns

Synonyms

treaty accord

Used in print

(Octavia Waldo, A Cup of the Sun....)

It was as though he had made a pact with the devil himself , but it was not_yet time to pay the price .

*