Philadelphia is the Commonwealth's only Class 1 city. It has a government similar to that of the Commonwealth itself, with a mayor with strong appointment and veto powers and a 17-member city council that has both law-making and confirmation powers. Certain types of legislation that can be passed by the city government require state legislation before coming into force. Unlike the other cities in Pennsylvania, the Philadelphia city government also has oversight of county government, and as such controls the budget for the district attorney, sheriff, and other county offices that have been retained from the county's one-time separate existence; these offices are elected for separately than those for the city government proper.