Meg Ryan and John Mellencamp have reportedly called it quits after dating for three years.

According to PEOPLE, the 52-year-old actress and the 62-year-old musician, who were last spotted together in May, started dating in 2010. A source revealed the cause of the breakup to the publication.

"It was the distance," the insider tells PEOPLE. "She lives in New York and he resides in Indiana. It was the long distance that ultimately was the cause."

Meg, best-known for her roles in romantic comedies like 'When Harry Met Sally' and 'Sleepless in Seattle,' was previously married to actor Dennis Quaid from 1991 to 2001. John was previously married to Elaine Irwin for 18 years, until the two split in 2010.

Both celebs have projects to help keep their minds off of the breakup. According to E! News, John is preparing to release his 22nd studio album, 'Plain Spoken,' in November. Meg, on the other hand, is reuniting with her 'You've Got Mail' co-star Tom Hanks for the upcoming World War ll drama 'Ithaca.'