And so in justice and security, people lived peacefully under the flag of a popular national emirate, crime vanished and calm returned after the chaos that had followed the fall of Turkish rule in Algeria. The emir also fought ethical corruption in society, banning prostitution, drinking alcohol and drugs across his emirate, and also banned soldiers from playing cards and wearing gold and silver except in their weapons and horses, and ordered them to pray at the mosque.