When was the Pythagorean theorem established?

The Pythagorean theorem was established by the ancient Greek mathematician Pythagoras in the 6th century BC.