Authorities in South Carolina have charged a woman with cruelty to children after she allegedly recorded herself pouring water on her sleeping baby’s face and then posted it on Facebook, calling it “payback” for keeping her up at night.

On Saturday night, Caitlin Alyse Hardy filmed herself tipping a water bottle onto her sleeping 9-month-old daughter’s nose and mouth twice, causing her to wake up while coughing and sputtering, according to the Sumter County Sheriff’s Office. The 33-year-old then allegedly posted the video to her Facebook page with the caption, “Payback for waking me up all kinda times of da night...” with three laughing emojis.

In a statement, the department said it investigated Hardy after seeing “disturbing images on a social media site.” Authorities arrested her Wednesday after issuing a warrant the day before, accusing her of causing “ill treatment, unnecessary pain and suffering, and/or deprivation of necessary sustenance” upon her infant.

"The mother said she did it as a joke," Captain Robert Burnish, head of Sumter County Sheriff's investigations division, told BuzzFeed News.

In the 36-second clip, a woman can be heard laughing as she holds a bottle of Aquafina water over the baby's cheek as she sleeps in her crib. The woman tips some water on her face and the little girl pops up and starts to cough and gasp, causing the woman to laugh harder. The infant, still asleep, turns back on her side and coughs again. A few second later, the hand spills more water directly onto the baby's nose, startling her and causing her to jump up and cry.

The video went viral on Facebook after a group, “Where is baby Kate?,” posted it on Sunday with a picture of the mother’s profile and the number and link to the sheriff’s department.