The Moroccan–American Treaty of Friendship was a treaty between Morocco and the United States. It was signed in 1786. By signing it, King Mohammed III began diplomatic relations with the newly independent United States.