The history of cannons spans several hundred years from the 12th century to modern times. The cannon first appeared in China sometime during the 12th and 13th centuries. It was most likely developed in parallel or as an evolution of an earlier gunpowder weapon called the fire lance. The result was a projectile weapon in the shape of a cylinder that fired projectiles using the explosive pressure of gunpowder. Cannons were used for warfare by the late 13th century in the Yuan dynasty and spread throughout Eurasia in the 14th century. During the Middle Ages, large and small cannons were developed for siege and field battles. The cannon replaced prior siege weapons such as the trebuchet. After the Middle Ages, most large cannons were abandoned in favor of greater numbers of lighter, more maneu