It is well known that the Chinese had gunpowder by the thirteenth century and even cast a few cannons. But when Western voyagers reached China in the sixteenth century the Chinese lacked both artillery and firearms, whereas the Europeans had an abundance of both.