Original: The United States agreed to leave as of December 1959, and was fully out of Morocco by 1963.
Simplified: The United States agreed to leave as of December 1959. They were fully out of Morocco by 1963.