A mangonel was a type of catapult or siege engine used in the medieval period to throw projectiles at a castle's walls. A mangonel had poorer accuracy than a trebuchet (which was introduced later, shortly before the discovery and widespread usage of gunpowder).