Fontenay-le-Comte (IPA: [fɔ̃tənɛ lə kɔ̃t]; Poitevin: Funtenaes or Fintenè) is a commune and subprefecture in the Vendée department in the Pays de la Loire region of Western France.
The affix of comte is said to have been applied to it when it was taken by King Louis IX from the family of Lusignan and given to his brother Alphonse, count of Poitou, under whom it became capital of Bas-Poitou.
It suffered repeated capture during the Religious Wars of the 16th century, was dismantled in 1621 and was occupied both by the Republicans and the Royalist Vendeans during the Revolt in the Vendée (1793).
At Maison Laval on rue Rabelais, a townhouse built at the end of the 18th Century, Emperor Napoleon 1st and his wife, Joséphine, spent the night of 7–8 August 1808.
On their way from Rochefort to Nantes, they had stopped off in the Bas-Poitou capital of Fontenay-le-Comte where they were the guests of Mayor Laval who, to give them a dignified welcome, had prepared a triumphal arch over the Pont Neuf bridge.