
The Ottoman Empire · Government and Law
The boy tax
Ottoman miniature of the devshirme levy, public domain, via Wikimedia Commons.
The Archives/The Ottoman Empire/Government and Law
A registrar wrote down each boy’s name, his father’s name and his village. The document went with him, and it is why we know who some of them were.
Every few years, at intervals that varied from three to seven, an officer of the janissary corps arrived in a district of Rumelia or Anatolia with a warrant and a clerk. The village priest produced the baptismal register. The boys of the district between roughly eight and eighteen were assembled. The officer picked.
What he was looking for is specified in the surviving instructions: healthy, well-made, intelligent boys, from families with more than one son, not the only child, not married, not already apprenticed to a trade, not from Istanbul. The selected boys were registered, issued with red caps and coats, and walked to the capital in groups under escort. They never went home. They were converted to Islam, given Turkish names, and entered a system of training that produced, at the top end, the men who commanded the empire’s armies and ran its government.
At least six grand viziers of the sixteenth century came into the empire’s service this way. So did its greatest architect.
❦On this page
What it was legally
The institution is strange enough that its legal basis is worth stating, because it was strange to contemporaries too. Islamic law as the Ottomans inherited it protected dhimmis, the non-Muslim subject populations, in their persons, property and religion, in exchange for the poll tax. It did not permit enslaving them or forcibly converting them.
The devshirme did both, to a specific group, by administrative order. Ottoman jurists justified it in several ways, none of them entirely comfortable. Some argued that the Balkan Christians had been conquered by force rather than surrendering by treaty, which altered their status. Some argued that the boys were not enslaved but taken into the sultan’s service, which was a different category. Some argued from necessity and the interest of the state.
Jewish subjects were exempt. So, for most of the period, were Armenians, Greeks of the capital, and townspeople generally. The levy fell overwhelmingly on Orthodox Christian villagers in the Balkans and, from the fifteenth century, on some Anatolian Christian communities.
Muslims were excluded, with a partial and revealing exception: Bosnian Muslim families, who had converted, successfully petitioned to be included, because by then it was a route to advancement.
The training
What happened to a boy after selection determined everything, and it was decided quickly. The most promising, perhaps one in ten, were separated for the palace schools. The rest were sent to Turkish farming families in Anatolia for several years, to learn the language, the religion and hard physical work, and were then enrolled as trainee janissaries.

The palace boys entered the Enderun, the inner school at Topkapi. The curriculum ran for anything up to fourteen years and covered Turkish, Arabic and Persian, the Qur’an, calligraphy, mathematics, music, riding, archery, wrestling and a practical craft. It was residential, silent, and supervised by eunuchs. Promotion was by chambers, and a boy moved up as places opened.
The graduates were placed. The top of the intake went into the palace services close to the sultan’s person, and from there into provincial governorships and eventually the imperial council. The others became janissaries, palace gardeners, armourers or gatekeepers. The gardeners are not a joke: the bostanci corps guarded the palace and rowed the sultan’s barge, and its commander was a senior officer of state.
Why a state would do this
The logic is the same logic that produced the Mamluks of Egypt and it is worth setting out plainly. A ruler who recruits his army and his administration from the aristocracy of his own country acquires officials with land, relatives, local followings and their own reasons to disobey. A ruler who recruits men taken from their families as children, converted, trained in his own household and legally his property, acquires officials with no independent base at all. Their status, their wealth and their lives came from him and could be removed by him.
That is the whole design. The kapikulu, the slaves of the gate, are described further in Slaves of the gate, and the devshirme was the recruiting mechanism that supplied them. It also solved a problem the Ottomans had inherited. The Turkish frontier lords who had fought the early campaigns were powerful, hereditary and troublesome, and the early sultans spent a great deal of effort building a counterweight to them.
What it produced
The output of the system is the strongest argument that it worked on its own terms. Sokollu Mehmed Pasha was taken from a village in eastern Bosnia in his teens. He became grand vizier in 1565 and ran the empire for fourteen years under three sultans. His brother, who stayed behind, became Serbian Orthodox patriarch, appointed on Sokollu’s initiative after he had the patriarchate restored.

Mimar Sinan was taken from a Christian family in Cappadocia, served as a military engineer on campaign for twenty years, and then built the mosques discussed in Sinan. Rustem Pasha, Ibrahim Pasha, Piyale Pasha, Lala Mustafa Pasha and a long list of others came in the same way. For a period in the sixteenth century, the great majority of senior Ottoman officeholders were men born Christian outside the empire’s ruling class.

There is no other pre-modern state where that is true.
What it cost
Against that, the human reality needs stating without softening. Families lost children permanently. The sources on the receiving end are thin, but Balkan folk songs, laments and later oral tradition record the levy as a grief, and there are documented cases of families mutilating sons to make them ineligible, marrying them off early, or hiding them.
There are also documented cases of families volunteering sons, and of bribery to get a boy taken. Both things were true at once, in different villages and different decades, and a history that reports only one is being written to a purpose. The demographic scale was modest. Estimates of the total taken across the institution’s whole life run to something like 200,000 over two centuries, which is a few thousand per levy across a very large population. It was not a mass deportation.
The individual cost was absolute. A boy taken at ten did not see his family again unless, like Sokollu, he became powerful enough to send for them.
The janissaries
The military half of the output became the most famous infantry in Europe and then became a problem. The corps was established in the fourteenth century, organised in ortas, regiments, each with its own cauldron as its emblem and its own barracks. They were the first standing infantry force in Europe since the Roman legions: paid a salary, quartered in barracks, uniformed, drilled, and equipped with firearms from the fifteenth century onwards.

They were also, originally, forbidden to marry, forbidden to trade, and required to live in barracks, which kept them dependent. Every one of those restrictions failed. From the later sixteenth century janissaries married, took up trades, enrolled their sons, and sold positions on the payroll. The corps grew from around 12,000 in 1527 to nearly 40,000 by the early seventeenth century and to figures in six digits on paper by the eighteenth century, many of them men who had bought a pay ticket and never served.

By then the devshirme had stopped. The last recorded levies are in the early eighteenth century, and by that point the corps was recruiting hereditarily from its own families, which is exactly the situation the institution had been designed to prevent.
The end of it
The corps outlived its usefulness by a long way and its removal was violent. Janissaries deposed sultans in 1622, 1648, 1687, 1703, 1730 and 1807, and murdered two of them. A sultan who wanted to reform the army had to deal with the men the reform would displace.

Selim III tried in the 1790s with a parallel new-model force, and was deposed and killed for it. Mahmud II succeeded in June 1826. When the corps mutinied against the formation of a new infantry force, he had prepared: loyal artillery was in position, the ulema declared against the janissaries, and the population of Istanbul did not rise in their support.
The barracks were shelled. Thousands were killed in the city and thousands more executed in the provinces over the following weeks. The corps was abolished, its name banned, its cemeteries desecrated and its records suppressed.

Ottoman histories call it the Auspicious Incident.
How it has been written about
The historiography here is unusually contaminated and readers should know why. For Balkan national historiographies, formed in the nineteenth century during the wars of independence, the devshirme is the central image of Ottoman oppression: the stolen child, the destroyed family, the enslaved nation. For a strand of Turkish writing, it has been presented as a career opportunity, a route by which peasant boys reached the highest offices in the state.
Both accounts select. The first ignores the volunteering, the petitions for inclusion and the careers. The second ignores that the boys had no say, that the families had no remedy, and that conversion was compulsory.
Basilike Papoulia’s study, and later work by Metin Kunt and others, has tried to establish what actually happened from the administrative record: the warrants, the registers, the quotas, the complaints filed with the imperial council. What that record shows is a routine bureaucratic operation, carried out by clerks, with forms and quotas and appeals, which is in some ways more disturbing than either version.
What the documents say
A closing note on evidence, since the administrative record is the reason this can be discussed at all. The Ottoman archive holds devshirme warrants, specifying the district, the quota and the officer responsible. It holds registers listing the boys taken by name, father’s name, village, age and distinguishing marks, which were kept so that a boy who ran away could be identified and so that substitutions could be detected.
It holds complaints: from villages arguing they had been over-assessed, from families disputing an exemption, from officials reporting that a colleague had taken bribes to leave certain boys out. And it holds the career records of the men the system produced, in the palace registers and in the biographical dictionaries of officeholders. That combination lets a historian follow a specific boy, occasionally, from a named village to a named post, which is a level of documentation almost nothing else in the pre-modern world offers.
It is also why the argument about the institution cannot be settled by asserting either that it was slavery or that it was opportunity. The record shows it was both, applied to the same people, without their consent.
Sources
Ancient
- Ottoman devshirme warrants and registers in the Prime Ministry Ottoman Archive, Istanbul
- The Kavanin-i Yeniceriyan, the janissary law code; Ottoman chronicles on the Auspicious Incident of 1826
- Konstantin Mihailovic, Memoirs of a Janissary, a fifteenth-century Serbian account
Modern
- Basilike Papoulia, Ursprung und Wesen der Knabenlese im Osmanischen Reich, 1963
- Metin Kunt, The Sultan’s Servants, 1983
- Halil Inalcik, The Ottoman Empire: The Classical Age 1300 to 1600, 1973
- Gulay Yilmaz, on the devshirme and janissary recruitment
- Caroline Finkel, Osman’s Dream, 2005
New civilisations are announced by email as they are written.
Passages may be quoted with my name and a link to the page, and copies may be handed out in a classroom, lecture or study group as long as the site’s name stays on them. Please ask first before republishing a whole essay or Archives page, translating one, or using the writing in anything that is sold. Use for training machine-learning systems is not permitted. The details are on Using this site.
Images are credited individually; rights remain with their holders.