Starting in 1661, King Louis XIV transformed a humble hunting lodge into a glittering palace. Over 30,000 men worked on constructing the Palace of Versailles, a project that drained the royal treasury for decades. Expenses included not only building but also diverting rivers, piping in fresh water, and planting thousands of orange trees to mask the smell of sewage that could not be properly drained away. In May 1682, Louis moved the capital of France to Versailles, 12 miles away of Paris. It was Louis XIV's motive to remove himself and his nobles from the political intrigues of Paris. It became a symbol of his Absolute Monarchy.