a general from the kalif 's army , a supposed friend of bonmot 's in his youth , looked out of place in turban and gold-and-red glittery uniform , his presence barely tolerated by a city that so frequently had been bombarded by his masters .