we do not have these caste problems in Islam.A petty slave was and can become a leader, the sons of slaves became scholars and so on. Some outshone their masters.