Who Invented the First Catapult?

There are many variations of catapult because it is basically anything that moves a projectile. The Egyptians seem to have the first type then the Chinese then the Greeks. After that it was [pretty much a part of almost all ancient warfare