(a) At the time prescribed in this subtitle, the qualified voters of each city of the second class shall elect a city marshal, city recorder, and city treasurer. Each of these officers shall continue in office until his or her successor is elected and qualified.
(b) These officers shall have such powers and perform such duties as are prescribed in this subtitle, or as may be prescribed by any ordinance of the city, consistent with the provisions of this subtitle.