Updated

Get all the latest news on coronavirus and more delivered daily to your inbox. Sign up here.

A 17-year-old South Carolina girl told to self-quarantine amid the coronavirus outbreak could face years in prison after allegedly coughing on police officers -- and laughing about it on video, according to investigators.

Rock Hill police officers had responded to reports of a fight Monday night at a park when the suspect allegedly coughed on them and shared a video of it to Facebook, the department said. They were not aware she was supposed to be self-quarantined at the time.

She allegedly “went on Facebook live and went and coughed on the officers and laughed about it,” Rock Hill Police Lt. Michael Chavis, the department’s public information officer, told Fox 46. “A little while later, we get calls saying, this is what's going on, this is what happened, and there's pictures from the juvenile's social media account saying she was put under a 14-day quarantine.”

Police found a picture of a written doctor's order to self-quarantine on the girl's social media account, according to Chavis, in addition to the coughing video.

CLICK HERE FOR FULL CORONAVIRUS COVERAGE

When police learned that the suspect was supposed to be self-quarantining, they had to have the involved officers quarantine, as well. They will be tested for the coronavirus if they begin to show symptoms, Chavis told Fox News.

The girl was released to her family on house arrest and faces a charge of breach of peace high and aggravated, which has a maximum penalty of 10 years in prison, according to Chavis.

SC MAN LIED ABOUT POSITIVE CORONAVIRUS TEST TO GET PAID VACATION: SHERIFF

“If someone willingly and deliberately exposes or attempts to expose our officers to the COVID-19 virus, we will fully investigate and bring all the applicable charges,” Rock Hill Police Chief Chris Watts said in a statement. “We will take all incidents like this seriously.”

The highly contagious coronavirus prompted social distancing guidelines and shutdowns across the country in an attempt to slow its spread.

Among those guidelines are instructions to stay home if you may have been exposed to the virus and to cover your coughs.

South Carolina Gov. Henry McMaster ordered the closures of nonessential businesses in the state on March 31 and on Tuesday issued another executive order reemphasizing social distancing and proper personal hygiene.

CLICK HERE TO GET THE FOX NEWS APP

“All South Carolinians must remain at home or work unless visiting family, exercising, or obtaining essential goods or services,” he wrote on Twitter after issuing the “Home or Work” order.