At the time, the public strongly identified Leigh with her second husband, Laurence Olivier, who was her spouse from 1940 to 1960. Leigh and Olivier starred together in many stage productions, with Olivier often directing, and in three films. She earned a reputation for being difficult to work with, and for much of her adult life, she had bipolar disorder, as well as recurrent bouts of chronic tuberculosis, which was first diagnosed in the mid-1940s and ultimately killed her at the age of 53. Although her career had periods of inactivity, in 1999 the American Film Institute ranked Leigh as the 16th greatest female movie star of classic Hollywood cinema.