Scott Foley and Jennifer Garner go way back, long before the "Alias" actress fell in love with Ben Affleck, and the "Scandal" actor married Marika Dominczyk.
Daily Mail previously recounted the timeline of Jennifer Garner and Scott Foley's marriage, before they broke up and Jen got together with Ben Affleck.
"Jennifer and Scott, now 41, tied the knot in October 2000 after meeting on the set of television show Felicity - Scott was a series regular alongside Keri Russell from 1998 to 2002, and Jennifer guest starred in 1998.
"The actress is vague about what exactly led to the demise of their marriage, but perhaps it was her sudden fame after she was cast as lead Sydney Bristow in the hit show Alias, for which she won a Golden Globe Award in 2002.
"Jennifer and Ben, meanwhile, met on the set of their 2003 film Daredevil, and the pair married in June 2005."
ET Online earlier reported that Jennifer Garner and Ben Affleck were spotted flirting in 2003, back when Jennifer was still married to Scott Foley and Ben was engaged to Jennifer Lopez.
Talking to Allure magazine in August 2013 about her failed marriage to Scott Foley, Jennifer Garner admitted that the "Scandal" star is a "good guy."
"We didn't have a shot," Jen said in the interview, as quoted by Daily Mail. "He's a really good guy, and we just imploded ... "Oh, he's a great guy. We were full-on grown-ups, but looking back I'm aware we did not know what hit us."
And now that Ben Affleck and Jennifer Garner have announced their divorce, is Scott Foley talking to his ex-wife?
Chances may be slim, because according to reports, Scott Foley and his present wife allegedly have a rule not to be in touch with their ex-lovers.
"Scott and Marika have a very happy home relationship, and he's said from the get-go that he will never, ever make contact with any of his exes, least of all his ex-wife," a source reportedly told Radar.
Having gone through a divorce himself, Scott Foley must know the pain that his ex-wife is going through right now. Does he feel sorry for her?
"Probably," the insider said. "But there's no relationship, friendly or otherwise, between Scott and Jennifer now - and Marika would leave him in a heartbeat if he tried to change that, because to her it would be totally inappropriate."