According to Ottoman understanding, the state's primary responsibility was to defend and extend the land of the Muslims and to ensure security and harmony within its borders within the overarching context of orthodox Islamic practice and dynastic sovereignty.