quality:correction
First Saudi insurgency

As the Ottomans' hold over their domains broke loose, the Madanis pledged alliance to Saud bin Abdulaziz, founder of the First Saudi state in 1805, who quickly took over the city. In 1811, Muhammad Ali of Egypt, Ottoman commander and Wali of Egypt, commanded two armies under each of his two sons to seize Medina, the first one, under the elder Towson Pasha, failed to take Medina. But the second one, a larger army under the command of Ibrahim Pasha, succeeded after battling a fierce resistance movement.