Jennifer Lopez’s divorce filing from Ben Affleck was four months in the making. When the singer, 55, filed paperwork to end her marriage to the “Justice League” actor, 52, on Tuesday, she also listed the official date that they split. According to Lopez, the couple separated on April 26, 2024.

The mom of two was photographed in New York City that day. She stepped out in a beige sweater with big sunglasses and gold hoop earrings. She carried a black purse with her during the outing.

After the divorce filing, a source told PEOPLE of Lopez, “She tried really hard to make things work, and is heartbroken.” Ten days after the couple’s separation date, Lopez attended the 2024 Met Gala in NYC alone , which sparked the rumors that they were on the rocks. Before that, the last time they had been seen together was on March 30, 2024 in New York City.

The next time the “Gigli” co-stars were photographed together was 47 days later on May 16, 2024. They both attended an event in Los Angeles to support one of their kids , though they arrived separately. Both stars were wearing their wedding rings during the outing.

But by that time, it was reported that Affleck was staying at a separate house from Lopez , who was seen house hunting without her husband. On May 20, a Page Six report claimed that the “Argo” director had “come to his senses” about his failing marriage to Lopez. “If there was a way to divorce on grounds of temporary insanity, he would,” the insider all.