In December 2001, McQueen was diagnosed with melanoma, while he was working at Pixar. On October 29, 2002, he died of heart failure brought by the disease in Berkeley, California, at the age of 41. His death occurred during the production of Finding Nemo, which is dedicated to him. His former colleagues also paid homage by naming the main character and Piston Cup Champion in the film Cars "Lightning McQueen".