The ROC and the United States signed the Sino-American Mutual Defense Treaty in 1954, and established the United States Taiwan Defense Command. About 30,000 US troops were stationed in Taiwan, until the United States established diplomatic relations with the PRC in 1979.