After just two years of marriage, Glee star Naya Rivera and actor Ryan Dorsey have pulled the plug on their marriage, according to court documents.

The actress reportedly filed for divorce from her actor husband last week, TMZ reports, and is asking for sole phyiscal custody of their son, Josey Hollis Dorsey, 1.

It is unclear what led to the divorce filing at this time, though the pair did make a statement to People Magazine about things coming to an end.

"After much consideration, we have made the decision to end our marriage," they said. "Our priority is an always will be our beautiful son that we share together. We will continue to be great co-parenting partners for him. We ask for respect and privacy for our family during this difficult time."

The announcement is almost as surprising as the couple's marriage, which seemed unexpected back in July 2014, happening on the day that Rivera had initially been expected to wed rapper Big Sean, though the two had called off their engagement and split up earlier that year in April. That split quickly became ugly with allegations that the split happened because he found Rivera to be too controlling, and even insinuated that she would fly into jealous rages if she ever saw him with other women.

After the surprise wedding to Dorsey, Rivera later admitted the two had actually been friends for years, and had previously dated for a short while in the beginning of her days on Glee, where she played cheerleader Santana Lopez. She had ended the relationship to become more fully committed to her career.

Rivera courted some controversy about her relationship and marriage after releasing her memoir Sorry Not Sorry back in September, where she revealed a few weeks after her initial split with Dorsey, she had learned she was pregnant with his child, but terminated the pregnancy without telling him, and revealed that she didn't tell him anything until after they had reconnected following her split from Big Sean.

She then admitted he had handled the news well, and she fell even more in love with him by his response.

"He said, 'In the short time that we dated, I wish that I could have don't something to make you feel like you could have trusted me with that information because I would have loved to have been there with you,'" she wrote. "I think it was the kindest, best thing that any man could have ever said in that situation. It just made me love him that much more."