Where did Pythagoras live when he discovered the Pythagorean Theorem?

Pythagoras lived in Croton, a Greek colony in southern Italy, when he discovered the Pythagorean Theorem.