In 1632 the Janissaries attempted an unsuccessful coup against Murad IV, who then imposed a loyalty oath on them. In 1638 or 1648 the devshirme-based recruiting system of the Janissary corps formally came to an end. In an order sent in multiple copies to authorities throughout the European provinces in 1666 a devshirme recruitment target of between 300 and 320 was set for an area covering the whole of the central and western Balkans. On the accession of sultan Suleiman II in 1687 only 130 Janissary inductees were graduated to the Janissary ranks. The system was finally abolished in the early part of Ahmet III's reign (1703–1730).