Former porn star Stormy Daniels says she had an affair with President Donald Trump in 2006, a year after he married Melania Trump and just months after the first lady gave birth to Barron.

On Tuesday, Trump's longtime lawyer Michael Cohen pleaded guilty to eight federal crimes, including making illegal contributions to the Trump campaign on the same day he facilitated a $130,000 payment to the porn star to keep her from speaking about the affair.

Trump has been plagued by allegations of affairs and sexual misconduct throughout his three marriages to Ivana Trump, Marla Maples, and Melania Trump.

Business Insider has created a timeline of exactly when these relationships, rumored affairs, and reported acts of sexual harassment and assault allegedly took place over the years.

After months of speaking out about her alleged affair with President Donald Trump, Stormy Daniels says she is "vindicated" by Michael Cohen's guilty plea on Tuesday.

Cohen, Trump's longtime lawyer, struck a deal with prosecutors to plead guilty to eight federal crimes. While Daniels was not mentioned by name, Cohen pleaded guilty to making illegal contributions to the Trump campaign on the same day he facilitated a $130,000 payment to the porn star to keep her from speaking about the affair.

"Michael [Avenatti] and I are vindicated and we look forward to the apologies from the people who claimed we were wrong," Daniels, whose real name is Stephanie Clifford, told NBC News in a statement.

While Daniels has been in the limelight due to the Cohen's alleged payments, she isn't the only woman who claims to have had an affair with Trump while he was married. A former Playboy model says that she had an affair with Trump around the same period, and a number of women have accused the president of sexual harassment and assault during the years he has been married to Melania. (Trump denies these claims.)

Here's a timeline that spells out when Trump's marriages started and ended, as well as alleged and confirmed affairs and accusations of sexual misconduct that reportedly occurred during these periods: