This article needs additional citations for verification. (October 2013) (Learn how and when to remove this template message)
This elite class consisted of three main groups: the military, the court officials, and clergy. Though the term itself literally means "of the military", it more broadly encompasses all higher levels of imperial administration. To be a member of this ruling elite, one thus had to hold a political office in the service of the Ottoman Empire, meaning that both Muslims and non-Muslims in those positions could be considered askeri.
After Napoleon invaded Egypt in 1798, there was a reform movement in Sultan Selim III’s regime to reduce the numbers of the Askeri class, who were the first class citizens or military class (also called Janissary).
Sultan Salim III was taken prisoner and murdered by the Janissary revolt. The successor to the sultan, Mahmud II was patient but remembered the results of the uprising in 1807. In 1827 he caused a revolt among the Janissaries, kept them all in their barracks and slaughtered thousands of them.