Naya Rivera was arrested and charged with domestic battery after allegedly hitting her estranged husband, Ryan Dorsey.

The two announced their split last year after two years of marriage. Rivera, who starred on "Glee," and Dorsey are parents to a 2-year-old boy, Josey.

The Kanawha County Sheriff’s Office said in a statement that a deputy was dispatched to an address in Chesapeake, West Virginia, Saturday night, on a domestic violence complaint. When the officer arrived, Dorsey claimed that Rivera, 30, had hit him in the head and face.

Glee actress Naya Rivera arrested on domestic battery charge. Full story on https://t.co/gLqggB15yU pic.twitter.com/YqlflJ23T6 — Kalea Gunderson (@KaleaWCHS) November 26, 2017

"The deputy saw minor injuries consistent with [Dorsey's] statement," the statement said. Dorsey provided a video of the incident that supported his account.

Naya Rivera Splits From Husband Ryan Dorsey After 2 Years

Naya Rivera Pregnant: 'Glee' Star and Ryan Dorsey Expecting First Baby

'Glee' Star Naya Rivera Marries Ryan Dorsey Months After Big Sean Split

PHOTO: Naya Rivera and husband Ryan Dorsey arrive at the 2016 InStyle And Warner Bros. 73rd Annual Golden Globe Awards Post-Party at The Beverly Hilton Hotel, Jan. 10, 2016 in Beverly Hills, Calif. (Gregg DeGuire/Getty Images) More

After her arrest, Rivera was taken to the Kanawha County Magistrate Court, where she was arraigned and a bond was set. She was released on bond.

ABC News has reached out to the actress but has not immediately heard back.

PHOTO: Santana (Naya Rivera, R) and Brittany (Heather Morris, L) tie the knot in the 'Wedding' episode of 'Glee.' (FOX via Getty Images) More

Rivera and Dorsey wed in Cabo San Lucas, Mexico, in July 2014, only three months after she called off her engagement to rapper Big Sean. It was the first marriage for both.