FLINT (WWJ) – A man who prosecutors say killed his wife during a marathon argument over infidelity and talks of divorce has been convicted of second-degree murder in her 2014 stabbing death.

A jury this week returned the verdict against 44-year-old Andrew Farley in the slaying of his 34-year-old wife, Tiffany Caine-Smith Farley.

READ MORE: Michigan Matters: Where are the Female CEOs in Michigan?

According to testimony, Andrew Farley and his wife were in a drawn-out argument on October 24, 2014 that had lasted for more than a day. The argument included Tiffany Farley’s extramarital affair with a co-worker and her threats to divorce him and get pregnant by another man, authorities said.

Evidence submitted at trial indicated that Andrew Farley hit his wife over the head with a flashlight, knocking her to the floor while she was in the bathroom of the couple’s Grand Blanc Township home. Andrew Farley then proceeded to retrieve a knife from another room and came back and stabbed his wife six times, once in the heart.

During the trial, jurors were shown so-called “selfie videos” that Andrew Farley had made with the body of his deceased wife in view. Andrew Farley, a middle school teacher and Boy Scout leader, admitted in the videos that he had killed his wife due to being distraught over her extramarital affair and threats of divorce.

READ MORE: MSU Police: Tip From Private Investigator Led To Discovery Of Body Believed To Be Brendan Santo

Tiffany Farley’s body was later discovered by a family friend and authorities were called to the scene. Officials say Andrew Farley had also intentionally severed a gas line to the home’s water heater and lit a fire in a fireplace, in a possible attempt to commit suicide. The smell of gas was so strong at the scene that neighboring homes were evacuated out of caution.

“This was a cold-blooded plan of a man who said you’re going to die and I’m going to die, too” Janet McLaren, a special assistant attorney general, told jurors, according to a report in The Grand Rapids Press.

Andrew Farley’s attorney argued that he didn’t plan to kill his wife; that he acted in the heat of the moment.

Records show that Andrew Farley previously had filed for divorce from his wife in April 2014. The case was dismissed just months later though, when the couple told the court in June that they were able to reconcile.

MORE NEWS: Consumer Alert: How To Avoid Fake N95, KN95 Masks

Andrew Farley faces up to life in prison when he’s sentenced on December 14.