The world was shocked and saddened when Princess Diana died in 1997 at the age of 36.

Dying young is truly tragic, but at least these people made their mark on society before checking out early. Below is our list of 59 famous people who died before the age of 40.

1. Jessica Dubroff (7)

Pilot -- Plane crash -- 1996

2. Heather O'Rourke (12)

Child actor -- Bowel obstruction -- 1988

3. Anne Frank (15)

Dutch-Jewish author -- Typhus in concentration camp -- 1945

4. Ritchie Valens (17)

Rock 'n' roll singer -- Plane crash -- 1959

5. Eddie Cochran (21)

Rockabilly musician -- Auto accident -- 1960

6. Aaliyah (22)

R&B singer -- Plane crash -- 2001

7. Buddy Holly (22)

Rock 'n' roll singer -- Plane crash -- 1959

8. Freddie Prinze (22)

Comedian/actor -- Suicide -- 1977

9. River Phoenix (23)

Actor -- Drug overdose -- 1993

10. Selena (23)

Mexican-American singer -- Homicide -- 1995

11. James Dean (24)

Actor -- Auto accident -- 1955

12. Otis Redding (26)

Soul singer -- Plane crash -- 1967

13. Brian Jones (27)

British rock guitarist -- Drug-related drowning, possibly homicide -- 1969

14. Janis Joplin (27)

Rock/soul singer -- Heroin overdose -- 1970

15. Jim Morrison (27)

Rock singer -- Heart attack, possibly due to drug overdose -- 1971

16. Jimi Hendrix (27)

Rock guitarist/singer -- Asphyxiation from sleeping pill overdose -- 1970

17. Kurt Cobain (27)

Grunge rock singer/guitarist -- Gunshot and lethal dose of heroin, presumed suicide -- 1994

18. Reggie Lewis (27)

Basketball player -- Heart attack -- 1993

19. Brandon Lee (28)

Actor -- Accidental shooting on the set of The Crow -- 1993

20. Shannon Hoon (28)

Rock singer -- Drug overdose -- 1995

21. Hank Williams (29)

Country musician -- Heart attack, possibly due to an accidental overdose of morphine and alcohol -- 1953

22. Andy Gibb (30)

Singer -- Heart failure due to cocaine abuse -- 1988

23. Jim Croce (30)

Singer/songwriter -- Plane crash -- 1973

24. Patsy Cline (30)

Country music singer -- Plane crash -- 1963

Find more of our list of famous people who died before the age of 40 on the next page.