US states have power over everything that isn't given to the federal government (10th Amendment). So all state laws preempt all city/county/municipality/township/local/etc. laws.
US cities and counties are creations of the state that they're in.
States are NOT creations of the federal govt. The federal govt is a creation of the states.