The Constitution of the Duchy of Warsaw could be considered liberal for its time. It provided for a bicameral Sejm consisting of a Senate and a Chamber of Deputies. A Council of Ministers functioned as the executive body of the Duchy. Serfdom was abolished and all classes were to be equal before the law. While Roman Catholicism was the state religion, religious tolerance was also guaranteed by the constitution.