Mairead Philpott is telling the court that she tried to take her own life after her husband's girlfriend, Lisa Willis, left the family home.
"I thought if I was gone then everybody else would be happy," she said.
She also confirmed that she wrote the suicide notes and that they reflected what she was thinking at the time, but denied that she would contemplate killing her children at the same time as herself.
More top news
The historic moment was watched by 500 people in the Church in Wales who cheered after the ceremony.
A cold night ahead, with frost and fog for some
Protesters across Europe and the rest of the globe held women's marches following the inauguration of President Trump.