The U.S. surgeon general is set to be arraigned Wednesday in a virtual court hearing in Hawaii on charges he illegally entered a public park that was closed because of the coronavirus.

The criminal complaint against Jerome Adams, who was on Oahu in August helping with surge testing amid a spike in coronavirus cases, says he and two other men were looking at the view and taking pictures at Kualoa Regional Park on the island’s northeastern coast. The rural park offers a view of the famed Mokolii island, also known as Chinaman’s Hat for its cone shape.

Adams told a police officer who cited him that he was visiting Hawaii to work with Gov. David Ige on COVID-19 and didn’t know parks were closed. Honolulu Mayor Kirk Caldwell had closed them at the time to try to prevent crowding that could spread the virus.

US SURGEON GENERAL ISSUES REMINDER ABOUT HOW CDC DEFINES 'CLOSE CONTACT'

Violating any of the mayor’s emergency orders is punishable as a misdemeanor, with fines of up to $5,000, up to a year in jail or both.

A few days after the citation, Adams appeared with Caldwell at a news conference announcing a partnership between the city and federal government for surge testing.

CLICK HERE TO GET THE FOX NEWS APP

“I’m proud of every single one of you who has sacrificed over the past several months,” Adams said at the time. “And to the people who are lapsing a little bit, I want you to understand that a little bit of fun right now can result in shutdowns further on down the road. It’s important that we all do the right things right now, even if we don’t feel we are personally at risk.”