On July 20, 1847, a Decree (number 523) established the post of Prime Minister, formally titled "president of the Council of Ministers" (not to be confused with the State Council, whose ten members sat for life and which in the late Empire functioned solely as an advising body to the Emperor). Appointed by the emperor, the Prime Minister then chose a cabinet of state secretaries, or ministers. The cabinet had to maintain the support of a majority in the General Assembly. The emperor's acts were not valid without the countersignature of the minister responsible for the issue concerned. The 1847 decree thus turned the Brazilian Empire into a standard constitutional monarchy with a parliamentary system.