The Pennsylvania Supreme Court has ruled that the state Attorney General’s Office had no legal basis to sue oil and gas drilling companies on behalf of landowners under the Pennsylvania Unfair Trade Practices and Consumer Protection Law.

In a 6-1 majority opinion, the justices overturned a Commonwealth Court ruling rejecting preliminary objections from defendants Anadarko Petroleum Corp. and Chesapeake Energy Corp.