The ordinance is plainly in conflict with C. S., 2599 and 2618. Section 2601 inhibits the governing body of-a municipal corporation from passing any ordinance contrary to the provisions of the chapter in which these sections are found. But without regard to this statutory inhibition, the conflict would be fatal. Municipal ordinances are ordained for local purposes in the exercise of a delegated legislative function, and must harmonize with the general laws of the State. In case *763of conflict tbe ordinance must yield to tbe State law. Tbe motion to dismiss tbe action should therefore have been allowed. Washington v. Hammond, 76 N. C., 33; S. v. Langston, 88 N. C., 693; S. v. Brittain, 89 N. C., 574; S. v. Keith, 94 N. C., 933; S. v. Austin, 114 N. C., 855; S. v. McCoy, 116 N. C., 1059; S. v. Black, 150 N. C., 866. On tbe defendant’s motion tbe judgment is reversed, and this will be certified.
Reversed.