Who was credited for inventing the Pythagorean Theorem?

The ancient Greek mathematician and philosopher Pythagoras is credited with inventing the Pythagorean Theorem.