In 1703, the chief scribe (reisü'l-küttab) Rami Mehmed Efendi (d. 1708) was appointed as the grand vizier in the Ottoman Empire. In scholarship, Rami Mehmed epitomizes the transition in the political cadres from the people of the sword/seyfiye to the people of the pen/kalemiye as the first chief scribe to be appointed as the grand vizier. While this transition has long been accepted as a crucial aspect of eighteenth-century Ottoman history, the cultural and intellectual formation of "the people of the pen" as a distinct community before this period has not been adequately examined.