Local governments in New York may regulate land use within their borders directly through their zoning codes and more indirectly by adopting a variety of other statutes and regulations. But there are limits to their power. Municipalities, of course, must not discriminate on the basis of religion in violation of the U.S. or New York State Constitutions or other applicable federal or state laws.