In every city of the first class in the state which does not now have an official in its fire department designated and acting as fire marshal, under the charter of the city, there is hereby created the office of fire marshal and it shall be the duty of the chief of the fire department of the city to appoint from among the members of the fire department a fire marshal, who shall hold office until removed for cause.