It is widely believed that Buddhism entered China via the Silk Road under the Han Dynasty. After trade and travel was established with the Yuezhi, who by that time were forced southward toward India, Yuezhi monks began to travel with the merchant caravans; preaching their religion along the Silk Road.
The Buddhism that first became popular in China during the Han dynasty was deeply coloured with magical practices, making it compatible with popular Chinese Taoism (a combination of folk beliefs and practices and philosophy). Many Chinese emperors worshiped Lao-tzu and the Buddha on the same altar.
It was brought to China by Buddhist monks from India during the latter part of the Han dynasty. Over time Buddhism became a popular force in the lives of the Chinese, from the common people to the emperor himself. In fact, by the sixth century, Buddhism rivaled Daoism in popularity and political influence.