Given the task definition and input, reply with output. In this task you will be given a passage and a yes/no question based on the passage. You should answer the question using the information from the passage.

passage: The Louvre Palace (French: Palais du Louvre, IPA: (pal dy luv)) is a former royal palace located on the Right Bank of the Seine in Paris, between the Tuileries Gardens and the church of Saint-Germain l'Auxerrois. Originally a fortress built in the medieval period, it became a royal palace in the fourteenth century under Charles V and was used from time to time by the kings of France as their main Paris residence. Its present structure has evolved in stages since the 16th century. In 1793 part of the Louvre became a public museum, now the Musee du Louvre, which has expanded to occupy most of the building.
question: did the louvre used to be a palace?
Yes