Temporary marriage, in the form of the Sunni Muslim misyar marriage ("traveller's marriage") contract, is a practice that has sometimes been used as a cover for a form of prostitution. It was widespread in Xinjiang under Chinese rule prior to the Dungan Revolt of 1862–77, and some westerners considered its use there to be a form of licensed prostitution. It allowed a man to marry a woman for a week or even a couple of days, with "the mulla who performs the ceremony arranging for the divorce at the same time". In some cases a temporary marriage was undertaken without the traditional marriage contract and could be easily terminated by the man involved. Such a marriage was forbidden by the Koran, and the Turki (Uyghur) Muslims in Xinjiang called it a "marriage of convenience".