Louis XIV distrusted the Parisians and moved his court to Versailles in 1682, but his reign also saw an unprecedented flourishing of the arts and sciences in Paris. The Comédie-Française, the Academy of Painting, and the French Academy of Sciences were founded and made their headquarters in the city. To show that the city was safe against attack, he had the city walls demolished, replacing them with Grands Boulevards. To leave monuments to his reign, he built the Collège des Quatre-Nations, Place Vendôme, Place des Victoires, and began Les Invalides.
Try to answer this question if possible (otherwise reply "unanswerable"): What was the reason behind demolishing the city walls?
To show that the city was safe against attack