Re: the geeks shall inherit the earth
"For 'geeks', we can substitute 'stone masons' - they were people that the rulers needed, and couldn't treat too badly (else they would take their skills elsewhere), but kings they were not."
The Mamelukes were military geeks. Bought as young slave boys from outside the caliphate - they were rigorously trained to form the caliph's army. Eventually they took over the rule of the caliphate as sultans with a figurehead caliph.