Jimmy Carter actually said...
This Treaty represents the fulfillment of a commitment undertaken by both nations in the Panama Canal Treaty of 1977.
Context
United States-Panama Treaty on Penal Sentences Message to the Senate Transmitting the Treaty
07/29/1979