There are legends that Laozi was the Buddha himself, or that the Buddha came from the Tibetan kingdom of Zhangzhung. There are other legends that Buddhism had existed in China since ancient times (before the Qin dynasty).