In the 18th century the Netherlands became poorer. Many people blamed this on the government leaders, the stadtholders. Many thought they had too much power and wanted them to get away. In 1789 the French people deposed (got rid of) their king. French armies attacked other countries to depose their leaders too. In 1795 they attacked the Netherlands. Stadtholder William V had to flee to England. The Netherlands were renamed to Batavian Republic and became a democracy. But the French were not content (satisfied) with the Dutch ruler, so in 1806 the French emperor Napoleon made his brother Louis Bonaparte king of the Netherlands. Louis became popular in the Netherlands, but the emperor was again not content with him, so in 1810 the Netherlands became a part of France.