In December 1777, Morocco became the first nation to recognize the United States, and together they maintain the United States' longest unbroken treaty.