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.
Civil procedure in South Africa
The magistrate's courts are the lower courts in South Africa. These are so-called "creatures of statute", governed by and created under the Magistrates' Courts Act, and therefore do not have inherent jurisdiction. This means that they may only hear matters prescribed by the Act. There are two kinds: the district Magistrate's Court and the Regional Magistrate's Court. The Republic of South Africa is divided into magisterial districts and regional divisions, and each has a magistrates' court. The Regional Court was previously only a criminal court; however, since August 2010, it has also had civil jurisdiction. Matters in the magistrate's court are presided over by a magistrate under the leadership of a Chief magistrate.