Best Answer: The United States declared its independence from Great Britain on July 4, 1776. Morocco formally recognized the colonies as a unified sovereign nation on December 20th, 1777. Morocco was the first nation to recognize the United States and so bilateral relations were born.The Treaty of Paris of 1783 ended the U.S. Revolutionary War and granted the thirteen colonies political independence.A preliminary treaty between Great Britain and the United States was signed in 1782, but the final agreement was not signed until September 3, 1783.orocco was the first nation to recognize the United States and so bilateral relations were born. The Treaty of Paris of 1783 ended the U.S. Revolutionary War and granted the thirteen colonies political independence.