The "solution" to this problem, even in supposedly "democratic" societies, was exploiting bigotries to create a social underclass whose enslavement was considered widely acceptable and the creation of a constantly mobilized militarized force (police) to keep them and the populace subdued.