The Log Cabin Republicans, a GOP group that advocates for LGBT rights, on Saturday released a 45-second video attacking Democratic presidential candidate Hillary Rodham Clinton's record on marriage equality.

“Was Hillary Clinton a gay rights advocate when it counted?” the group asks viewers before showing clips from 2002 and 2004 in which Clinton says she opposes such unions.

Clinton said in 2013 that her position in favor of civil unions for gay couples had evolved to include marriage.

Gregory Angelo, the group's president, pointed to a speech Clinton gave in 2004 on the Senate floor to declare: “Not everyone in the United States supported marriage equality in 2004, but few took to the floor of the chamber to hammer home the point the way Hillary Clinton did.”

“I believe that marriage is not just a bond, but a sacred bond, between a man and a woman,” Clinton is seen saying in the video.

However, Clinton was speaking in opposition to a Republican proposal to amend the U.S. Constitution to define marriage as a heterosexual union.

The video ends with a reminder that Senator Bernie Sanders, Clinton's Democratic rival, supported such unions before she did.

“It's time for the people of Iowa – and the country – to know that when it mattered, Hillary Clinton was wrong on gay rights,” Angelo added.

Log Cabin Republicans in 2012 endorsed Mitt Romney's presidential bid. As governor of Massachusetts, Romney fought against the court ruling that ordered the state to issue marriage licenses to gay couples.