<a href="https://en.wikipedia.org/wiki/Mustafa_II" id="mwQw" rel="mw:WikiLink" title="Mustafa II">Mustafa II</a> becomes the <a href="https://en.wikipedia.org/wiki/List_of_sultans_of_the_Ottoman_Empire" id="mwRA" rel="mw:WikiLink" title="List of sultans of the Ottoman Empire">Ottoman sultan</a> and <a class="mw-redirect" href="https://en.wikipedia.org/wiki/Caliph_of_Islam" id="mwRQ" rel="mw:WikiLink" title="Caliph of Islam">Caliph of Islam</a> in <a href="https://en.wikipedia.org/wiki/Istanbul" id="mwRg" rel="mw:WikiLink" title="Istanbul">Istanbul</a> on the death of <a href="https://en.wikipedia.org/wiki/Ahmed_II" id="mwRw" rel="mw:WikiLink" title="Ahmed II">Ahmed II</a>. Mustafa rules until his abdication in <a href="https://en.wikipedia.org/wiki/1703" id="mwSA" rel="mw:WikiLink" title="1703">1703</a>.