A woman and her former boyfriend pleaded guilty Monday to beating the woman’s mother to death in her Terrytown home and stealing her prescription medication in 2014.

Misty Eiermann, 36, was sentenced to 40 years in prison for manslaughter, while Bryan Schwartz, 28, was sentenced to 20 years as a principal to manslaughter.

They also pleaded guilty to narcotics, obstruction and firearms offenses, Jefferson Parish District Attorney Paul Connick’s office said.

Schwartz drew attention a year ago when he smeared what appeared to be feces on his face during a pretrial hearing and declared, “Life is like a box of chocolates,” as he was led out of the 24th Judicial District courtroom in Gretna.

Schwartz was later granted a sanity hearing but was found competent to stand trial.

On Monday, Judge Henry Sullivan accepted guilty pleas from Eiermann and Schwartz. Both had been charged with second-degree murder but worked out deals with the District Attorney’s Office.

Eiermann testified Monday that the pair were drinking and using drugs at the home of her 56-year-old mother, Mary Romano, when they decided to kill her to get her morphine and Xanax.

Eiermann beat her mother over the head at least 17 times with a blunt object, and the couple fled in Romano’s vehicle, according to the Jefferson Parish Sheriff’s Office.

Eiermann and Schwartz also got 20 years each for obstruction of justice for getting rid of their clothes, the weapon and Romano’s car, and five years for drug possession.

Schwartz got 20 years for being a convicted felon in possession of a firearm, while Eiermann got five years for providing the gun to him.

Sullivan said all those sentences would run concurrently with the manslaughter sentences.

Follow Chad Calder on Twitter, @Chad_Calder.