After the adoption of a new Constitution in 2008, the judicial branch of the country was completely renewed to provide a cooperative leadership by having a judicial and an administrative head. As such, the bodies of Ecuador's judicial branch now consisted of the National Court of Justice, provincial courts (created by the National Court), tribunals and judges, National Council of the Judicature, Public Defendants' Office, and State Attorneys' Office. The 2008 Constitution also led to the creation of the Constitutional Court of Ecuador.