Question: when was gunpowder first discovered in ancient china
Answer: the late Tang dynasty ( 9th century )