Background
He was born in 1645 in Istanbul to Terazici Hasan Aga.
Diplomat Grand Vizier of the Ottoman Empire
He was born in 1645 in Istanbul to Terazici Hasan Aga.
He was known as a poet of divan literature (the epithet Rami is his nom de plume in his poems). After completing his education, he started his career as a bureaucrat. In 1690, he was appointed as a clerk in the office of the reis ül-küttab.
In 1696, he was promoted to be the reis ül-küttab (a post roughly equivalent to foreign minister) and three years later he represented the Ottoman Empire in the peace talks of the Treaty of Karlowitz which ended the War of the Holy League.
The Ottoman Empire was defeated in the war, but Mehmed Rami tried his best to minimize the losses. On January 25, 1703, he was promoted to the post of Grand Vizier, the highest post of the Ottoman Empire other than that of the Sultan.
Even under this unfavorable situation, Rami tried to reform the post-war economy and the navy, but his term was too short to carry these reforms through. Both Feyzullah’s almost unlimited authority and the Sultan’s insistence on residing in Edirne rather than Istanbul, the capital, caused reactions among the soldiers and the citizens in Istanbul.
In the summer of 1703, they revolted against the Sultan.
At the end of this revolt known as Edirne event, Rami Mehmed as well as the Sultan were deposed on August 22, 1703. Rami Mehmed was then appointed as the governor of Cyprus and then Egypt, but in 1706 he was exiled to Rhodes island (now a part of Greece), where he died. He was poet and a friend of the famous Ottoman poet of Nabi.
He also wrote about his diplomatic career.
His book named Karlofça Sulhnamesi is about the talks during the Treaty of Karlowitz. A suburb of modern Istanbul, which was once a farm owned by Rami Mehmed, is now named Rami after him.