King Charles X needed a war to boost his popularity — a fly whisk struck against a French consul gave him the excuse. But he was overthrown almost the moment his army landed. France then found itself owning Algeria with no plan for what to do with it.