This picture taken on May 19 at the Abel Prize ceremony in Oslo shows the Abel prize winner and mathematician John Forbes Nash. Nash and his wife have died in a car crash in the US.

Reuters/New York

Mathematician John Nash, a Nobel Prize winner who inspired the movie A Beautiful Mind, was killed in an auto accident along with his wife in New Jersey, ABC News reported.

The couple were in a taxi cab whose driver lost control and crashed into a guard rail, the network reported, citing state police.

The Oscar award-winning film A Beautiful Mind starring Russell Crowe was loosely based on Nash's longtime struggle with schizophrenia.

Crowe wrote on Twitter on Sunday that he was stunned by reports of the death of Nash and his wife, Alicia.

"An amazing partnership. Beautiful minds, beautiful hearts," he wrote on Twitter.

Nash, a Princeton University scholar, was awarded the Nobel Price for economics in 1994.

John Nash was 86 and his wife was 82, according to ABC News, which reported the couple was living in Princeton, New Jersey.  

Related Story