Who used the Pythagorean theorem first?

The first known use of the Pythagorean theorem is attributed to the ancient Greek mathematician and philosopher Pythagoras of Samos, who lived in the 6th century BC.