Five people, including a hotel manager and the manager's son, were stabbed at a hotel in the southern French city of Marseille on Tuesday, and one was in critical condition, the city's prosecutor said.
The Tunisian attacker, who had two knives and a crowbar, died after being shot by police, prosecutor Nicolas Bessone and the police said.
Bessone told reporters that the attacker, a legal immigrant, had been evicted from the hotel for not paying rent.
The incident took place in Marseille's first arrondissement, or district.
Five bodies found in the River Seine
Five bodies were found in the River Seine near the area on the outskirts of Paris last month, according to the local prosecutor's office.
French police detained a man at the end of August on suspicion of the murder of four of those found, whose bodies were found on August 13 in Choisy-le-Roi, upriver from Charenton-le-Pont, in an area known for gay sexual encounters.
The suspect was homeless, as were two of the four victims. The other victims were a 21-year-old Algerian who lived nearby and a 48-year-old Frenchman.
This is a developing story.