Jennifer Lopez wanted to divorce Marc Anthony last year.
The 'On the Floor' singer's marriage had been in trouble for some time before the couple announced they were splitting last Friday (15.07.11), with one friend saying Jennifer was ready to leave at Christmas last year.
The source told Star magazine: "Jen told him she wanted out of the marriage late last year, but he begged her to stay.
"She stayed, but she was miserable until finally she couldn't take it anymore."
It has also been reported the couple nearly split in 2009, over Marc's alleged affair with an airline stewardess.
Another source told Us Magazine: "Jennifer was going to leave him then, but Marc begged her to stay.
"They went to marriage counselling and she decided to give it another shot. He was someone she truly loved."
Marc's spending habits are also said to have caused problems for the pair â said to be worth $250 million - during their seven-year marriage, with him owing $3.4 million in taxes for last year.
Despite her marriage woes, Jennifer, 41, pulled out all the stops last night for a performance at a private wedding party in Ukraine â for which she reportedly received a $1 million fee.
The singer performed a string of hits for the son of Azam Aslamov, a Uzbek oil tycoon, and his guests at the $15million wedding.
As she took to the stage, she said: "Are you happy? I am happy, because I am here with you today!"
Jennifer is expected to take primary custody of her children with Marc, three year old twins Max and Emme, with friends saying she is planning to throw herself into her work as an actress and singer.