After the creation of the Kingdom of Yugoslavia, the competences of the Supreme Mufti were transferred to the Ulama Majlis in Skopje and the competences of the Reis-ul-ulama were transferred to the Ulama Majlis in Sarajevo. The newly formed Ulama Majlises formed the Rijaset of Islamic Community with its head office in Sarajevo. After the Second World War the Islamic Community of Macedonia became part of the Islamic Community of Yugoslav Federation (Rijaset), with its office in Sarajevo.