In 1808, Napoleon's enthronement of his brother Joseph as the Spanish King precipitated the drive by the colony for independence from Spain. A national junta in the name of Ferdinand – heir to the deposed king – was formed on 18 September 1810. The Government Junta of Chile proclaimed Chile an autonomous republic within the Spanish monarchy (in memory of this day, Chile celebrates its National Day on 18 September each year).