With the introduction of gunpowder, the trebuchet began to lose its place as the siege engine of choice to the cannon. Trebuchets were still used both at the siege of Burgos (1475–1476) and siege of Rhodes (1480). One of the last recorded military uses was by Hernán Cortés, at the 1521 siege of the Aztec capital Tenochtitlán. Accounts of the attack note that its use was motivated by the limited supply of gunpowder. The attempt was reportedly unsuccessful: the first projectile landed on the trebuchet itself, destroying it.