French President Emmanuel Macron paid tribute to the policeman who died after swapping himself for a hostage during a supermarket siege, saying he symbolised the "French spirit of resistance".
Addressing mourners at a solemn ceremony at the Invalides military museum in Paris, Mr Macron compared Arnaud Beltrame's sacrifice to those of France's World War II heroes and said his example would "remain etched in French hearts".
Lieutenant Colonel Beltrame, who once served in Iraq, was taken to hospital after the siege in which he took the place of a female hostage at the Super U store in the town of Trebes, but later died from his injuries.

Four people were killed and 16 injured in the incident, which occurred last Friday.
The attacker was identified by authorities as Redouane Lakdim, a 25-year-old Moroccan-born French national from the city of Carcassonne, not far from Trebes.
Lt-Col Beltrame was part of a team of gendarmes who were among the first to arrive at the supermarket scene; most of the people in the supermarket escaped after hiding in a cold storage room and then fleeing through an emergency exit.
He offered to trade places with a hostage the attacker was still holding.
After shots were heard, police stormed the building and killed Lakdim.
The so-called Islamic State group later claimed responsibility for the attack.