PERTH AMBOY — A veteran city police officer died in a car crash Wednesday night.

The crash appears to have been brought on by a medical emergency.

Officer Arcadio "Archie" Rivera, 54, was off duty and driving his own vehicle when he lost control about 7:30 p.m. and crashed into a parked car on Harbortown Boulevard, according to city police.

Rivera suffered a cardiac arrest after he was removed from his vehicle, according to police. Rivera was brought to Raritan Bay Medical Center, where he was pronounced dead.

Rivera was with the department for 26 years, a lifelong Perth Amboy resident and a former United States Marine. He was married and father to three sons. A MyCentralJersey.com 2018 news story said he provided support for the Police Unity Tour.

"Please join us in thoughts and prayers at this difficult time for the Rivera family as well as the entire Community," Mayor Helmin Caba, who also serves as police director, said in a written statement.

The New Jersey State PBA sent condolences on Twitter.

Contact reporter Dan Alexander at Dan.Alexander@townsquaremedia.com or via Twitter @DanAlexanderNJ

COVID vaccines: 17 myths, misconceptions and scientific facts

Do any of the vaccines impact fertility? Do they contain a live virus, or change a person's DNA? Here are some of the most rampant social media rumors and the real, verified answers on COVID-19 vaccines currently being distributed in the U.S.

NJ towns that actually cut property taxes in 2020

New Jersey property taxes went up by $158 for the average homeowner last year, making the average residential property tax bill $9,111. Here are the municipalities that saw their average tax bill decrease.