Under the statute it is the duty of city councils to elect fire engineers; and a city ordinance delegating that duty to other municipal officers is void. A city ordinance, void in one of its material provisions, is wholly void if it is apparent that it would not have been enacted without that provision.