The coffin of a police officer hailed as a hero after he exchanged places with a hostage during a terror attack on a supermarket in the south of France was on Wednesday driven through the streets of Paris for a state funeral attended by the president.

Emmanuel Macron paid tributes to Lieutenant Colonel Arnaud Beltrame, who was killed Friday when he swapped positions with a civilian hostage during a terror incident at a supermarket in southern France in which four were killed.

Macron is to award the slain officer with the Legion d'Honneur for his actions, which have earned him a hero status in France.

His coffin was draped in the French tricolor.

Epa images showed people lining the streets of the French capital to bid farewell to the officer.

In honor of Beltrame and the other victims of the attack, flags at the European Commission in Brussels are to wave at half mast throughout the day, said EC chief Claude Juncker.