A Pennsylvania appeals court on Tuesday rejected a challenge of the Mariner East 2 pipeline on the grounds that it violated a local zoning ordinance in West Goshen Township, saying the project's public-utility status preempts the authority of the Chester County township.

The Commonwealth Court upheld the rejection of a lawsuit led by the Delaware Riverkeeper Network that sought to enforce a local ordinance that specifies how far a pipeline must be constructed from occupied structures. The ruling can be appealed to the Pennsylvania Supreme Court.

West Goshen is one of several townships that are seeking to block Sunoco Pipeline LP from constructing the pipeline to carry Marcellus Shale natural gas liquids across the state to an industrial complex and terminal in Marcus Hook.