After the Fall of Algiers, and the expulsion of dey Hussein, the forces of the three Beyliks of Constantine, Oran and Titteri didn't regroup against the forces of the invader. French troops occupied Oran on 1 January 1831. The submission of Bey Hassan caused the population to flee the town. He was replaced by Bey Kheireddine who was sent from Tunis by the French administration.