Daoism began to morph into a religion around 200 AD, with texts and rituals heavily influenced by Buddhist practices. As a religion, in pursuit of eternal life, Daoists in subsequent millennia contributed to Chinese medicine, science (the invention of gun powder), and martial arts (Taiji, Wudang).