<human>:  How did the Algerian War of Independence come about?
<bot>: The Algerian War of Independence began in 1954 and lasted until 1962. Algeria gained its independence from France after a long and bloody war. The war began when the French colonial government attempted to suppress a nationalist uprising in the city of Algiers. The French military responded with a brutal counterinsurgency campaign. The war ended with the French surrendering to the Algerian National Liberation Front, and the granting of independence to Algeria.