Hersheypark visitors who are transgender may use the restrooms for the gender with which they identify, a spokeswoman for the Dauphin County attraction said Friday.

The park "has and will always strive to accommodate all guests and employees — including members of the LGBT community — to ensure those visiting or working at Hersheypark are comfortable and feel secure," spokeswoman Kathy Burrows said in a statement.

"Guests and employees may continue to use the restrooms with which they gender-identify, or are welcome to use the many family restrooms available across the destination.”

The statement comes amid a wave of national controversy over transgender rights. North Carolina, which passed a law requiring transgender people to use restrooms corresponding to their birth gender, is facing a backlash.

Meanwhile, the White House is facing criticism in Pennsylvania and elsewhere for mandating that public high schools allow transgender students access to restrooms consistent with their gender identity, on penalty of losing federal funding.

Hersheypark is owned and operated by Hershey Entertainment and Resorts, which split from the Hershey Co. chocolate manufacturer in the 1920s.