Two California gang members convicted of attempted murder in the 2015 shooting of a police officer smiled and laughed as a judge handed them life sentences on Monday, according to a report.

Jamie Caudillo and Steven Rincon stood trial for shooting at former Merced Police Officer Ryan Rasmussen during a routine traffic stop in Merced, Calif., on Feb. 28, 2015.

According to prosecutors, Caudillo, the passenger, fired at Rasmussen as Rincon sped off. Rasmussen was hit on his bulletproof vest and his hand.

Fellow officers fired at Caudillo, hitting him at least once, the Merced Sun-Star reported.

Jaime Caudillo, left, and Steven Rincon, were both charged with attempted murder of a police officer, according to a report.

Jaime Caudillo, left, and Steven Rincon, were both charged with attempted murder of a police officer, according to a report. (Merced County Sheriff's Office)

A 10-hour manhunt involving multiple law enforcement agencies eventually ended with the arrest of Caudillo and Rincon.

In May, Caudillo was found guilty of shooting Rasmussen, and Rincon of being the getaway driver, the Merced Sun-Star reported. Both were charged with attempted murder, the report said.

Rasmussen, who lost his right pinky finger in the encounter and was forced to retire from police service, said Caudillo “stripped me of my career.”

Merced County Judge Carol Ash said neither gang member appeared to express remorse during the trial.

19 MS-13 GANG MEMBERS INDICTED IN ‘MEDIEVAL-STYLE’ CALIFORNIA SLAYINGS WERE IN COUNTRY ILLEGALLY, OFFICIALS SAY

“I pray that they ask God for forgiveness,” said Rasmussen’s mother, Judith, as Rincon reportedly laughed and shook his head.

Caudillo was sentenced to 50 years and eight months to life in prison, while Rincon received 80 years to life in prison, the Sun-Star reported.

CLICK HERE TO GET THE FOX NEWS APP

Rincon, a third-strike offender, already was facing charges for a jailhouse murder, according to court records.

The men’s attorney said they would be appealing their sentences and convictions.