The Embassy of the United States of America to Somalia was a diplomatic mission of the United States in Mogadishu, Somalia from 1960 to 1991. In 1957, the US opened a Consulate-General in Mogadishu—the capital of the Trust Territory of Somalia, a UN trusteeship under Italian administration. The consulate was upgraded to embassy status in July 1960, when the US recognized Somalia's independence and appointed an ambassador. The embassy served to counter Soviet influence during the Cold War and also served as a base for the United States Agency for International Development, which had a large presence in the country. In 1989, the embassy moved from a dilapidated building in central Mogadishu to a new compound on the outskirts of the city.