The Vikings invaded Galicia in 844, but were heavily defeated by Ramiro I of Asturias at A Coruña. Many of the Vikings' casualties were caused by the Galicians' ballistas – powerful torsion-powered projectile weapons that looked rather like giant crossbows. 70 Viking ships were captured and burned. Vikings raided Galicia in 859, during the reign of Ordoño I of Asturias. Ordoño was at the moment engaged against his constant enemies the Moors; but a count of the province, Don Pedro, attacked the Vikings and defeated them.