Nobel Prize-winning mathematician John Nash, who was also the subject for the 2001 Academy Award-winning film, A Beautiful Mind, and his wife Alicia died in two-car accident in New Jersey on Saturday (May 23).

The Nashes were in a taxicab on the New Jersey Turnpike when their driver lost control while passing another car, The Washington Post reported. While John, 86, and Alcia, 82, did not survive the accident, the driver sustained non-life-threatening injuries, New Jersey police said.

Russell Crowe and Jennifer Connelly, who portrayed the couple in the film, expressed their sorrow for what happened to John and Alicia.

" heart goes out to John & Alicia & family. An amazing partnership. Beautiful minds, beautiful hearts," Crowe tweeted.

Meanwhile Connelly sent a statement to and said, “This is a great loss. John and Alicia Nash were an inspiration and I have deep admiration for all that they accomplished in their lives. My thoughts are with their family.”

A Beautiful Mind followed the life of John, who was diagnosed with paranoid schizophrenia but continued to research and eventually revolutionize mathematical game theory at Princeton University, and his wife who stood by his side. Despite his delusions, the mathematician went on to make contributions in various fields including economics and politics and also received a Nobel prize. If you haven't seen it or need a reminder, see the trailer for the film below.

The film released in 2001 and immediately received critical acclaim -- winning four Oscars including Best Picture, Best Adapted Screenplay, Best Director, which went Ron Howard, and Best Support Actress for Connelly's role.

Howard also shared his thoughts via Twitter.