Subject only to the limitations of this chapter, any county may, by ordinance adopted by a four-fifths (45) vote of the board of supervisors, or by a majority vote of the qualified electors of said county, establish and maintain a retirement, disability and death benefit plan for county peace officers, foresters, fire wardens, and firemen.