<human>:  What year did the French annex Algeria?
<bot>: The French annexation of Algeria began in 1830. The French government had been trying to colonize Algeria since the 17th century, but the French had been unable to conquer the territory. In 1830, the French government sent a military expedition to Algeria, and the French were able to conquer the territory.