Louis became the king when Louis XV died in 1774. He was 19 years old. Louis took charge of a country which had big problems. After the Seven Year's War, France was no longer the most powerful country in Europe. The country had debts because of the war, and because its tax system was outdated. Many nobles and other rich people could avoid paying taxes, something that many ordinary people hated. It was also the Age of Enlightenment, a time when people were becoming more interested in ideas like democracy and liberalism. A growing number of people opposed the absolute monarchy of France.