Morocco formally recognized the United States by signing a treaty of peace and friendship in 1786. After a longstanding consular presence, permanent diplomatic relations began in 1905. Morocco entered into the status of a French protectorate from 1912 to 1956, and normal diplomatic relations were resumed after U.S. recognition of Moroccan independence in 1956. The two countries share common concerns and consult closely on regional security, political and economic transition, and sustainable development. Morocco is a strong partner in counterterrorism efforts, and it works closely with U.S. law enforcement to safeguard both countries’ national security interests.