On July 1, 1960, the Trust Territory of Somaliland (the former Italian Somaliland) and the former British Somaliland united to form the Somali Republic (Somalia), with Mogadishu as the nation's capital.