From the Wikipedia page 
The Var (French pronunciation: [vaʁ]) is a department in the Provence-Alpes-Côte d'Azur region in Provence in southeastern France. It takes its name from the river Var, which used to flow along its eastern boundary, but the boundary was moved in 1860. The Var is bordered on the east by the department of Alpes-Maritimes; to the west by Bouches-du-Rhône to the north of the Verdon River by the department of Alpes-de-Haute-Provence, and to the south by the Mediterranean Sea.
The Department of the Var was created at the time of the French Revolution, on March 4, 1790, from a portion of the former Royal province of Provence. Its capital was originally Toulon, but this was moved to Grasse in 1793 to punish the Toulonnais for having handed the town to the British in 1793. Subsequently the capital was moved to Brignoles in 1795, then to Draguignan in 1797. It was not returned to Toulon until 1974.