After the move to Rabat as the diplomatic capital in 1956, when the country gained its independence, the Legation was abandoned as a diplomatic building. Over the years the United States government proceeded to use it as consul offices and Peace Corps offices, among other things. In time it became neglected and threatened with demolition.