Task: Question Generation
Input (English): Passage: Russia joined the European Holy League  in 1686.:14 During the war, the Russian army organized the Crimean campaigns of 1687 and 1689 and the Azov campaigns . The Russian involvement marked the beginning of the Russo-Turkish Wars. In the light of Russia's preparations for the war with Sweden and other countries' signing the Treaty of Karlowitz with Turkey in 1699, the Russian government signed the Treaty of Constantinople with the Ottoman Empire in 1700.
Output (English): Which event happened first, Treaty of Karlowitz or Treaty of Constantinople?