In 1849, the Ottomans returned to Yemen once more. In April, they captured Al Hudaydah, and in July, they entered Sana'a on the invitation of the Imam, who wished for Yemen to become a Vassal state under Ottoman protection. This decision was regarded as treacherous by locals, and soon an open revolt occurred.