Denise Richards and Richie Sambora
05/15/2007 AT 01:15 PM EDT
Denise Richards and Richie Sambora broke up about two months ago, her rep confirms.
Although they were no longer a couple, last month they attended the funeral in New Jersey for Sambora's father, who died of lung cancer on April 21.
"Denise ended things but wanted to be there for him as a friend," a source close to Richards tells PEOPLE.
A Sambora source calls the split "amicable."
"They did break up about a month prior to Richie's dad's death," says the source. "She came to the funeral to support him. He needs to focus on his daughter Ava and wishes Denise and her kids all the best."
magazine was first to report the breakup.
Richards's mother has kidney cancer, and she told PEOPLE in February she and Sambora were helping each other cope
with their parents' illnesses.
Richards, 36, and Sambora, 47, began dating in April 2006
after splitting from their respective spouses. Richards's four-year marriage to Charlie Sheen officially ended
in November; Sambora and Heather Locklear finalized their divorce