JACKSON (AP) —Six Flags Great Adventure plans to cut down more than 18,000 trees for the construction of what it says will be the largest solar farm in New Jersey.

The El Toro roller coaster at Six Flags Great Adventure (Six Flags Great Adventure)

The Jackson park says the facility will generate 21.9 megawatts, or enough to power about 3,100 homes, and capable of meeting all of the park's needs.

The facility will be located east of the safari park in Jackson and is expected to be operational during the second half of 2016.

Park President John Fitzgerald said in a statement that solar power will significantly reduce the park's reliance on fossil fuels.

Six Flags spokeswoman Kristin Siebeneicher tells the Asbury Park Press the park and KDC Solar have pledged to replant 25,000 trees over a period of seven years.

(Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed)