The Texas legislature passed a bill to cap carbon emissions in the state, and the Texas Association of Petroleum Producers says the state is the first in the nation to do so.

    In a statement on Tuesday, the association said Texas is the nation’s fifth-largest natural gas producer and the largest in the country, and that it is the only state that has a cap on natural gas.

    The state has a moratorium on fracking in its borders, but state lawmakers have been pushing for more action to curb emissions.

    The measure also bars new gas wells from drilling in state parks, as well as on the public lands owned by the state.

    It also bars companies from drilling or fracking within a mile of a public park or water reservoir.

    A coalition of more than 20 organizations, including the Sierra Club, Environmental Defense, Texans for Safe Energy and the American Petroleum Institute, wrote to Gov.

    Greg Abbott on Tuesday to ask him to sign the legislation.

    The group also sent a letter to Abbott’s office on Tuesday urging him to take action to limit the impact of the legislation, according to the Associated Press.