Constables in the United States
While Constables primarily serve the Courts, they belong to the executive branch of 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).