Prior to the establishment of the Sarawak Administrative Service under the second Rajah, there had been no formal civil administration. The civil service recruited Europeans, mainly British officers, to run district outstations where the residents became exposed to and trained in many British and European methods and culture, while retaining the customs of the indigenous people. After the acquisition of more territory, Sarawak was divided into five divisions, each headed by a Resident. The Rajahs also encouraged the establishment of schools, healthcare services and transport.