king derrin was the richest ruler of the seven realms and his mines were brimming with gold and precious gems ; whoever controlled algary could buy enough loyalty and support and enough mercenaries to take control of all ibea , should they wish .