Now a large museum, the Louvre was initially a royal Palace.
Louis XIV decided to move the French kings residence to Versailles, and it was subsequently used for the french administration and then as a museum.
It is actually the largest museum in France and most visited site in Paris after Notre Dame.