During the early Ummayad period, there was more community involvement. The Quran and Muhammad's example was the main source of law after which the community decided. If it worked for the community, was just and did not conflict with the Quran and the example of Muhammad, it was accepted. This made it easier for the different communities, with Roman, Persian, Central Asia and North African backgrounds to integrate into the Islamic State and that assisted in the quick expansion of the Islamic State. The scholars in Madina were consulted on the more complex judicial issues. The Sharia and the official more centralized schools of fiqh developed later, during the time of the Abbasids.