sentence1: The sultans were left in charge of local and religious affairs, content with their prestige, prosperity, and security.
sentence2: Almost no real power remained to the sultans, leaving them unhappy at their loss of stature.