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.
Judiciary of New York (state)
The Judiciary of New York (officially the New York State Unified Court System) is the judicial branch of the Government of New York, comprising all the courts of the State of New York (excluding extrajudicial administrative courts.)