After Muhammad ibn Abd al Wahhab got exiled from Uyaynah, he sought refuge in Diriyah, where some of his followers were residing. At that time, Muhammad bin Saud was the local chieftain of Diriyah. Two brothers and the wife of Muhammad bin Saud were followers of Muhammad ibn Abd al Wahhab's ideology. They encouraged cooperation between Muhammad bin Saud and Muhammad ibn Abd al Wahhab. Muhammad ibn Abd al Wahhab needed military support to secure his ideology and preaching, while Muhammad bin Saud needed pastoral support. Fulfilling these needs eventually led to an alliance between the scholar Muhammad ibn Abd al Wahhab and the local ruler Muhammad bin Saud creating the First Saudi State, the Emirate of Diriyah.