In 1744, in the desert region of Nejd, Muhammad bin Saud, founder of the Al Saud dynasty, joined forces with the religious leader Muhammad ibn Abd al-Wahhab. Muhammad ibn Abd al-Wahhab was the founder of the Wahhabi movement, a strict puritanical form of Sunni Islam. This alliance formed in the 18th century provided the ideological impetus to Saudi expansion and remains the basis of Saudi Arabian dynastic rule today. The first Saudi state established in 1744 in the area around Riyadh, rapidly expanded and briefly controlled most of the present-day territory of Saudi Arabia, but was destroyed by 1818 by the Ottoman viceroy of Egypt, Mohammed Ali Pasha. In 1824, a much smaller second Saudi state, located mainly in Nejd, was established in 1824, but by 1891 its Al Saud rulers were driven into exile in Kuwait.