Once city reaches a population of 5,000, the voters may petition an election for a city charter. If the charter is approved by the voters, the city is governed under home rule status, which allows the city to pass any ordinance which is "not inconsistent" with either the Texas Constitution or the general laws of the state. This has caused some turmoil between cities seeking to pass laws and the Legislature attempting to keep them from doing so; examples include plastic bag bans (or plastic bag fees) and bans on oil and gas drilling within city limits.