 In 1942, a hostel was built to rehabilitate child prostitutes in Lagos and a year later, the Children and Young Persons Ordinance was passed prohibiting child prostitution.The colonial government also established a welfare and social services department to manage the hostel and rehabilitation of child prostitutes.By 1946, a set of law was enacted that clearly defined prostitution and its prohibition.