A Marine veteran who was returning from visiting his wife and newborn at the hospital was one of two people who died in a head-on car crash on Cape Cod, Massachusetts, police said.

Barnstable police responded to reports of a head-on collision along Route 28 shortly after midnight on Saturday.

Officials said 32-year-old Kevin Quinn, of Mashpee, was traveling west when his GMC SUV crashed into a Toyota sedan that was headed in the opposite direction. The driver of the other vehicle, Mickey Rivera, 22, of Fall River, Massachusetts, was killed after his car split in two and caught fire, Boston 25 reported.

Officials said Quinn was pinned inside his car and had to be extradited with the Jaws of Life.

He was transported to South Shore Hospital, where he was later pronounced dead, Boston 25 reported.

The Cape Cod Times reported that police were apparently pursuing Rivera’s car before the crash because he was allegedly driving erratically and speeding.

According to the paper, Rivera was due to appear on court Tuesday on a series of charges in connection with a 2015 murder in his hometown of Fall River. He had been in custody for two years on charges including armed assault with intent to rob and attempted armed robbery, but was released in September 2017 after his bail was reduced from $35,000 to $1,000.

Prosecutors had objected to the reduced bail for Rivera, citing the seriousness of the charges and his criminal history as a juvenile.

Family say Quinn, who served two tours of duty in Afghanistan, had just spent the evening with his wife, Kara, and their first child, Logan Audrey, who was born on Wednesday. Mother and daughter were supposed to go home on Sunday.

“Very excited about the new baby, and starting a new adventure in their life [and] all of a sudden, a car comes out of nowhere. Nobody’s prepared for that,” Rob Dinan, Quinn’s friend who served with him in the Marines, told Boston 25.

Who do you think would win the Presidency?

By completing the poll, you agree to receive emails from LifeZette, occasional offers from our partners and that you've read and agree to our privacy policy and legal statement.

Related: The Marines as You’ve Never Seen Them Before

“Today was supposed to be one of the happiest days of their life, and unfortunately it turned into a sad day for all of us,” he added.

A passenger in Rivera’s car remains hospitalized.

A GoFundMe page set up for the Quinn family had raised nearly $195,000 as of Monday evening.

This Fox News piece is used by permission; Fox News’ Samuel Chamberlain contributed.

Read more at Fox News:
Single Mother Goes from Homeless to CEO of Construction Company
This 22-Year-Old Created a $1M ‘Healthy’ Gummi Bear Company
How MotorGrrl Is Breaking the Motorcycle Business Bold