After two decades in power, and as he tried to secure a fifth term as president, Bouteflika was forced to quit amid huge, nationwide protests.