Midhat Pasha was again appointed Grand Vizier, in place of Mehmed Rushdi Pasha, on 19 December 1876. When he was appointed, he promised to continue on the path of reform, and announced on 23 December 1876 that a constitution would be promulgated and a representative parliament established. Though not a member of the commission that drafted the constitution, he played an important part in its adoption. The constitution provided for equal rights for all citizens without distinction of race or creed, abolition of slavery, an independent judiciary based on civil (rather than religious) law, universal elementary education, and a bicameral parliament, with a Senate appointed by the Sultan and a directly-elected Chamber of Deputies.