The Pennsylvania Department of Conservation and Natural Resources has reached a $36 million settlement with Consol Energy over claims the company’s coal mining caused structural damage that required a lake to be drained at a nearby state park.

As part of the settlement, Consol will, among other things, pay the $36 million to restore the lake at Ryerson Station State Park and give the state eight plots of land to increase the park’s size by 506 acres. The DCNR will allow Consol to drill for natural gas under the state park, but it can only do so from off-park property, according to a release detailing the settlement.