He moved the court to Versailles , impoverished the nobility by forcing them to contribute to the incredible luxury of his palace , and imposed as their sole function the support of the king in time of war .
The nobility were outraged when he asked them to foot the bill for his palace .