MADRID — Spanish police arrested four minors allegedly involved in the fatal hit-and-run of a police officer in the northeastern province of Huesca, officials said Saturday.

Officer Jose Antonio Perez stopped the suspects’ vehicle to carry out an alcohol test and leaned into the car Friday night, police said. The 17-year-old driver accelerated, dragging the officer 500 yards. The vehicle then hit a guardrail and crashed into an oncoming car, flinging the 54-year-old Perez onto the road where he died.

Police said the youths then fled, abandoning Perez and two people injured in the other car. Police arrested two 17-year-olds – the alleged driver tested positive for drugs – and two 14-year-olds Saturday before delivering the suspects to juvenile court officials in the city of Barbastro.

Interior Minister Jorge Fernandez Diaz will posthumously award Spain’s Order of Merit to Perez at a ceremony in Barbastro’s cathedral on Sunday. A funeral Mass will then be held in the cathedral and will be attended by high-ranking police officials, an Interior Ministry statement said.