The riddle of The Sphinx

The Sphinx lurked outside Thebes in ancient Greece, and demanded passers-by answer a riddle:
‘Which creature in the morning goes on four legs, at mid-day on two, and in the evening upon three legs?’
She strangled and devoured anyone unable to answer.

What kind of creature is that?