 The mamluk was an "owned slave", distinguished from the "ghulam", or household slave.After thorough training in various fields such as martial arts, court etiquette and Islamic sciences, these slaves were freed.However, they were still expected to remain loyal to their master and serve his household.