How long has diving been a olympic sport for?

Diving debuted at the 1904 Games in St. Louis.