purchased from a travelling merchant to provide crude brute labour for the maintenance of the fortress walls , his intelligence and natural aptitude for administration had gradually seen him transferred to lighter , more intellectual duties .