We need to translate visible text content to Japanese, preserving HTML tags exactly. The input includes some self-closing

tags. We must keep them. Translate:

Moroccan–American Treaty of Friendship

=>

モロッコ・アメリカ友好条約

For other uses, see Marrakesh Treaty (disambiguation).

=>

他の用途については、マラケシュ条約(曖昧さ回避)をご覧ください。

=> self-closing tag unchanged. "In December 1777, the Moroccan Sultan Muhammad III included the United States in a list of countries to which Morocco’s ports were open. Morocco thus became the first country whose head of state publicly recognized the newly independent United States.[failed verification] Relations were formalized with the Moroccan–American Treaty of Friendship (also known as the Treaty of Marrakesh)[citation needed] negotiated by Thomas Barclay in Marrakesh, and signed by American diplomats in Europe, Thomas Jefferson, John Adams with Sultan Muhammad III in 1786." We need translate that whole paragraph. Keep the bracketed notes as is? They are part of