Tulamba saw the influence of several Mahajanapada of ancient India, mainly Gandhara, Kamboja and Magadha. By 400-300 BCE, the region came under the influence of several Magadha dynasties of eastern India. The first was that of the Nanda Empire of ancient India from 300 BCE, and with the rise of Chandragupta Maurya, the region came under the complete control of the Mauryan Empire. After the victory of the Mauryan Empire against the Greeks in the Seleucid–Mauryan war, much of the region came under the rule of Chandragupta Maurya of ancient India. Chandragupta and Seleucus made a peace settlement in 304 BCE. Selecucus Nucator ceded the satrapies, including those in Chitral to the expanding Mauryan Empire. The alliance was solidified with a marriage between Chandragupta Maurya and a princess of the Seleucid Empire. The outcome of the arrangement proved to be mutually beneficial. The border between the Seleucid and Mauryan Empires remained stable in subsequent generations, and friendly diplomatic relations are reflected by the ambassador Megasthenes, and by the envoys sent westward by Chandragupta's grandson Ashoka. Afterward, the region was briefly and nominally controlled by the Shunga Empire. However, with the decline of the Shungas, the region passed to local Hindu and Buddhist rulers, and interrupted by foreign rulers. Many of these foreign rulers, like the Indo-Parthians, Sakas, and Kushans converted to Hinduism and Buddhism, and promoted these Indian religions throughout Central and South Asia. The region reached its height under the Buddhist ruler Kanishka the Great. After the fall of the Kushans, the region came under the control of the Gupta Empire of ancient India. During the period, Hindu and Buddhist art and architecture flourished in the area.