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.
County court
With the growth of the largest cities, many large urban centers have subsumed whole or most of counties within the unofficial or official municipal borders, blurring the distinction between the types of government and their jurisdictions in the mind of the common inhabitant, but even television police drama's occasionally point out a county function (Coroners, Sheriffs, Jails, courts, probation departments) are different from a metropolis' police agencies, city governments, and district attorney's (prosecutors) offices (Politically elected or appointed in most of the United States).