a trebuchet was a device used in wars and sieges in the middle ages. it could be used to throw stones at ramparts, trying to break them down. it could also be used to throw things over the walls of a city. these could be corpses of animals or people that had died of the plague. trebuchets were more accurate than other medieval catapults. trebuchets were first made in china in the 4th century bc.