Brownsville has a council–manager government. The mayor and a six-member city commission are selected in nonpartisan elections. Four members are elected from geographic districts; the remaining two members are elected at-large. Since Brownsville is the county seat of Cameron County, many county offices are in Brownsville. The city's public library system has two branches. The primary law enforcement agency for the city is the Brownsville Police Department. The Brownsville Fire Department has nine stations around the city; its central office is located on the eastern side of the city.