In the first century AD, two far-flung but related events helped stimulate Malaysia's emergence in international trade in the ancient world. At that time, India had two principal sources of gold and other metals: the Roman Empire and China. The overland route from China was cut by marauding Huns, and at about the same time, the Roman Emperor Vespasian cut off shipments of gold to India. As a result, India sent large and seaworthy ships, with crews reported to have numbered in the hundreds, to Southeast Asia, including the Malayan Peninsula, to seek alternative sources. In the centuries that followed, valuable Malaysian tin deposits assumed great significance in Indian Ocean trade, and the region prospered. As maritime trade among Middle Eastern, Indian, and Chinese ports flourished, the peninsula benefited from its location as well as from development of its various resources, including tropical woods and spices. Malay ships became prominent in that trade, and Malay ports served as transshipment centers. Indian trade brought Indian culture, economy, religion, and politics, with historic results for what is now Malaysia.
Following World War II, local communists, nearly all Chinese, launched a long, bitter insurgency, prompting the imposition of a state of emergency in 1948 (lifted in 1960). Small bands of guerrillas remained in bases along the rugged border with southern Thailand, occasionally entering northern Malaysia. These guerrillas finally signed a peace accord with the Malaysian Government in December 1989. A separate, smallscale communist insurgency that began in the mid-1960s in Sarawak also ended with the signing of a peace accord in October 1990.