Custodian of the Two Holy Mosques
|19th Sultan of the Ottoman Empire (Padishah)|
|Reign||8 August 1648 -|
|Born||2 January 1642|
Topkap? Palace, Constantinople, Ottoman Empire
(present day Istanbul, Turkey)
|Died||6 January 1693 (aged 51)|
Edirne, Ottoman Empire
(present day Edirne, Turkey)
Mehmed IV (Ottoman Turkish: ? ?, romanized: Me?med-i r?bi; Turkish: IV. Mehmed; 2 January 1642 - 6 January 1693) also known as Mehmed the Hunter (Turkish: Avc? Mehmed) was the Sultan of the Ottoman Empire from 1648 to 1687. He came to the throne at the age of six after his father was overthrown in a coup. Mehmed went on to become the second longest reigning sultan in Ottoman history after Suleiman the Magnificent. While the initial and final years of his reign were characterized by military defeat and political instability, during his middle years he oversaw the revival of the empire's fortunes associated with the Köprülü era. Mehmed IV was known by contemporaries as a particularly pious ruler, and was referred to as gazi, or "holy warrior" for his role in the many conquests carried out during his long reign.
Under Mehmed IV's reign the empire reached the height of its territorial expansion in Europe. From a young age he developed a keen interest in hunting, for which he is known as avc? (translated as "the Hunter"). In 1687, Mehmed was overthrown by soldiers disenchanted by the course of the ongoing War of the Holy League. He subsequently retired to Edirne, where he resided until his natural death in 1693.
Born at Topkap? Palace, Constantinople, in 1642, Mehmed was the son of Sultan Ibrahim (r. 1640–48) by Turhan Sultan, a concubine of Russian origin, and the grandson of Kösem Sultan of Greek origin. Soon after his birth, his father and mother quarreled, and Ibrahim was so enraged that he tore Mehmed from his mother's arms and flung the infant into a cistern. Mehmed was rescued by the harem servants. However, this left Mehmed with a lifelong scar on his head.[better source needed]
Mehmed ascended to the throne in 1648 at the age of six,[nb 1] during a very volatile time for the Ottoman dynasty. On 21 October 1649, Mehmed along with his brothers Suleiman and Ahmed were circumcised. The empire faced palace intrigues as well as uprisings in Anatolia, the defeat of the Ottoman navy by the Venetians outside the Dardanelles, and food shortages leading to riots in Constantinople. It was under these circumstances that Mehmed's mother granted Köprülü Mehmed Pasha full executive powers as Grand Vizier. Köprülü took office on 14 September 1656. Mehmed IV presided over the Köprülü era, an exceptionally stable period of Ottoman history. Mehmed is known as Avc?, "the Hunter", as this outdoor exercise took up much of his time.
Mehmed's reign is notable for a revival of Ottoman fortunes led by the Grand Vizier Köprülü Mehmed and his son Faz?l Ahmed. They regained the Aegean islands from Venice, and Crete, during the Cretan War (1645-1669). They also fought successful campaigns against Transylvania (1660) and Poland (1670–1674). When Mehmed IV accepted the vassalage of Petro Doroshenko, Ottoman rule extended into Podolia and Right-bank Ukraine. His next vizier, Köprülü Mehmed's adopted son Merzifonlu Kara Mustafa, led campaigns against Russia, conquering Chyhyryn in 1678. He next supported the 1683 Hungarian uprising of Imre Thököly against Austrian rule, marching a vast army through Hungary and besieged Vienna. At the Battle of Vienna on the Kahlenberg Heights, the Ottomans suffered a catastrophic rout by Polish-Lithuanian forces famously led by King John III Sobieski (1674–96), and his allies, notably the Imperial army.
In 1672 and 1673, the sultan, who embarked on two Polish campaigns with serdar-? ekrem and Grand Vizier Faz?l Ahmed Pasha, and the acquisition of the Kamaniçi Castle, returned to Edirne after the signing of the Buca? Treaty. 
The fire of 4-5 July 1660 was the worse conflagration the Ottoman city had experienced to that date. It started in Eminönü and spread to most of the historic peninsula, burning much of the city. Even the minarets of Suleiman I's mosque burned. Two-thirds of Istanbul was turned to ash in the conflagration, as many as forty thousand people were killed. Thousands died in the famine and plague which followed the fire. Following the fire, the dynasty expelled Jews from a wide swath of Istanbul, confiscated their synagogues and homes so that in their place the Yeni Cami (New Mosque) and the Spice Bazaar (Egyptian Market) could be built.
On 12 September 1683, the Austrians and their Polish allies under King John III Sobieski won the Battle of Vienna with a devastating flank attack led by Sobieski's Polish cavalry. The Turks retreated into Hungary, however this was only the beginning of the Great Turkish War, as the armies of the Holy League began their successful campaign to push the Ottomans back to the Balkans.
In May 1675, Mehmed IV's sons Mustafa II and Ahmed III were circumcised and his daughter Hatice Sultan was married. The empire celebrated it with Famous Edirne Festival to mark the occasion. Silahdar Findikli Mehmed Aga, He described Mehmed as a medium-sized, stocky, white-skinned, sun-burnt face, sparse beard, leaning forward from the waist up because he rides a lot. 
1680 witnessed the only known stoning to death of a woman convicted for adultery in Ottoman Istanbul. The unnamed woman was stoned to death on Istanbul's Hippodrome after allegedly being caught alone with a Jewish man, violating Ottoman law which forbade sexual relations between Christian or Jewish men and Muslim women. Mehmed IV witnessed the double execution: he offered the man conversion to Islam so as to avoid being stoned to death (he was beheaded instead).
After the second Battle of Mohács (1687), the Ottoman Empire fell into deep crisis. There was a mutiny among the Ottoman troops. The commander and Grand Vizier, Sar? Süleyman Pasha, became frightened that he would be killed by his own troops and fled from his command, first to Belgrade and then to Istanbul. When the news of the defeat and the mutiny arrived in Istanbul in early September, Abaza Siyavu? Pasha was appointed as the commander and soon afterward as the Grand Vizier. However, before he could take over his command, the whole Ottoman Army had disintegrated and the Ottoman household troops (Janissaries and sipahis) started to return to their base in Istanbul under their own lower-rank officers. Sar? Süleyman Pasha was executed, and Sultan Mehmed IV appointed the commander of Istanbul Straits, Köprülü Faz?l Mustafa Pasha, as the Grand Vizier's regent in Istanbul. Faz?l Mustafa made consultations with the leaders of the army that existed and the other leading Ottoman statesmen.
After these, on 8 November 1687, it was decided to depose Sultan Mehmed IV and to enthrone his brother Suleiman II as the new Sultan. Mehmed was deposed by the combined forces of Ye?en Osman and the Janissaries. Mehmed was then imprisoned in Topkap? Palace. However, he was permitted to leave the Palace from time to time, as he died in Edirne Palace in 1693. He was buried in Turhan Sultan's tomb, near his mother's mosque in Constantinople. In 1691, a couple of years before his death, a plot was discovered in which the senior clerics of the empire planned to reinstate Mehmed on the throne in response to the ill health and imminent death of his successor, Suleiman II.
Mehmed's favourite harem girl was Gülnu? Sultan, a slave girl and later his wife. She was taken prisoner at Rethymno (Turkish Resmo) on the island of Crete. Their two sons, Mustafa II and Ahmed III, became Ottoman Sultans during 1695-1703 and 1703-1730 respectively.
Mehmed had two consorts:
Media related to Mehmed IV at Wikimedia Commons
Mehmed IVBorn: 2 January 1642 Died: 6 January 1693[aged 51]
| Sultan of the Ottoman Empire
8 August 1648 -
with Kösem Sultan (1648-1651)
Turhan Hatice Sultan (1651-1656)
|Sunni Islam titles|
| Caliph of the Ottoman Caliphate
8 August 1648 -