These two departments replaced the Ottoman era ministry with the responsibility of governing Islamic affairs, the Ministry of Sharia and the Foundations (Şerriye ve Evkaf Vekaleti). This ministry had survived the Turkish War of Independence into the Republican era and the 1st government of Turkey.