Adam Matos took the stand Wednesday in his quadruple murder trial, admitting to the slayings but describing a scene of self-defense.

Matos, 32, is accused of killing former girlfriend Megan Brown, her new boyfriend Nicholas Leonard, and Brown's parents, Greg and Margaret, in late August 2014. Prosecutors believe jealousy may have been the motive for the murders.

Closing arguments were taking place Wednesday afternoon, and it's possible the jury will begin deliberations Thursday.

On the stand Wednesday, Matos told the court he moved to Florida with the Brown family under the impression that he and the mother of his child, Megan Brown, were going to make a go of it.

"She wanted to start going to nursing school and we had plans of getting married," Matos said.

But Matos said tension ensued when he found out Brown was seeing another man.

Matos said after arguing with Brown about it the morning of Aug. 28, 2014, he left to cool off, only to return later in the day to find an angry Leonard waiting for him.

Matos testified that Leonard grabbed him by the throat and pulled out a gun. The two struggled for Leonard's gun, and Matos says he managed to stab him.

"We ended up in the corner by the dressers," he said of the struggle. "And I saw a knife on top of the dresser that I used to defend myself, and I stabbed him in the arm a few times."

"I lost it completely. I just realized that I killed the woman that I love. The mother of my child. And at that point I realized that (son) Tristan no longer had a mother, no longer had a grandfather. And he no longer had me. And at that point I felt like my life was over." - Adam Matos on stand Wednesday

Matos says Megan Brown's father, Greg Brown, was home at the time and tried to shoot him with one of his hunting guns.

He described a scene of self-defense as he shot Greg Brown with the gun he wrestled away from Leonard. He said he shot and killed Megan Brown because he thought she also had a gun.

"I lost it completely. I just realized that I killed the woman that I love," Matos said in court. "The mother of my child. And at that point I realized that (son) Tristan no longer had a mother, no longer had a grandfather. And he no longer had me. And at that point I felt like my life was over."

Matos testified that in a fit of anger, he went back into the other room — where he left a bleeding Leonard — and beat him to death with a hammer.

"I grabbed a hammer that was on the floor. And I just kept hitting him," Matos said.

He said paranoia then led him to beat Margaret Brown to death when she came home from work that night. Matos said he thought Margaret Brown had something in her hand and just "reacted."

Investigators found the four bodies in a wooded area not far from the Brown home several days after the murders.

Asked Wednesday if at some point he moved the bodies from the home, Matos said, "Yes." He said he wanted to get the bodies away from the house and away from his son.

Matos said, "There's not a day that goes by that I don't think about it. I relieve it every day and it just haunts me every day."

He faces the death penalty if convicted.