Aleema was detained under the Punjab Maintenance of Public Order Ordinance, 1960, which allows local police to arrest anyone perceived as a threat to public peace.