Jay Z finally admitted to cheating on Beyonce in a bombshell interview last week, and said the two worked hard to stay together for the sake of their family.

A source told People magazine that the 36-year-old singer and 48-year-old rapper struggled to put on a united front in the midst of their marital troubles, but says the couple did so for the sake of their daughter Blue Ivy. The insider says that Beyonce’ apparently had trust issues after Jay-Z’s infidelity but the focus remained on their five-year-old daughter.

The source said, “It was very rough for them to stay married. It took Beyonce a long time to trust again. She was struggling to move on and forgive. But keeping her family together was very important.”

“If it wasn’t for Blue Ivy, they might not be together. It took them years to get to the point where they are now.”

The power couple have now been married for nine years and have actively worked on their marital issues through therapy.

The source added that the couple is now “very proud that they overcame huge marital issues and happy they were able to move on as a family.”