Mayim Bialik has announced that she and her husband of nine years are getting divorced.

The 36-year-old actress, who practices modern Orthodox Judaism, said in a statement posted online Wednesday that she and husband Michael Stone have decided to divorce over "irreconcilable differences." The couple has two young sons.

Bialik recently released a book about attachment parenting, but said the philosophy that encourages forming close bonds with near-constant physical contact played no role in the couple's split.

The Emmy-nominated star of CBS' "The Big Bang Theory" said, "relationships are complicated no matter what style of parenting you choose."

She added that divorce is "terribly sad, painful and incomprehensible" for children and that the couple's sons remain their priority.

Bialik first gained fame as the star of the 1990s sitcom "Blossom." She holds a doctoral degree in neuroscience from UCLA, specializing in obsessive-compulsive disorder in adolescents.

She met Michael Stone, a fellow graduate student, in calculus class, according to a description of her wedding she previously posted online.

In her most recent role on CBS comedy "The Big Bang Theory," Bialik plays Amy Farrah Fowler, a neuroscientist who dates one of the two main stars of the show, the socially inept but brilliant physicist Sheldon Cooper.