The state law and the federal law are both coming from different sides of the court system. The state law is coming from a state, a division in a country, while the country is the area the state is in.
Because of the fact that the federal level is higher than the state level, it is most likely the federal law will prevail.