she was the daughter of a jinn king who was on a mission to release from imprisonment the most dangerous being in all the realms ; she 'd barely spoken to her one ally ( red ) in weeks ; her best friend was an enemy of the state ; and there was a certain ancient marid-who happened to be the sultan 's lieutenant-who 'd been paying little visits to her dreams lately .