Local government in the Philippines
Local governments have two branches: executive and legislative. All courts in the Philippines are under the Supreme Court of the Philippines and therefore there are no local-government controlled judicial branches. Nor do local governments have any prosecutors or public defenders, as those are under the jurisdiction of the national government.
Catalan Courts
The Catalan Courts or General Court of Catalonia ( or ) was the policymaking and parliamentary body of the Principality of Catalonia from the 13th to the 18th century. The courts were made up of three arms or estates: the "military estate" which included representatives from the nobility, the "ecclesiastical estate" which saw representatives from the religious hierarchy and the "royal" estate which had representatives from the municipalities. The courts were summoned by the king who opened with a royal proclamation while the arms were in charge of legislating, always with the support of the sovereign. If the laws that were approved came from the king they received the name of "Constitutions", if they came from the Estates, "Court Chapters". If the king passed a law unilaterally it was called "Acts of Courts" and required ratification by the courts.