Former Secretary of State Hillary Clinton made headlines last week when comments she made in a coming documentary were published.

Clinton said nobody liked or wanted to work with Sen. Bernie Sanders and questioned his record as a lawmaker.

Now, in an interview following the premiere of "Hillary" at the Sundance Film Festival, the former first lady says she wasn't thinking about 2020 when she made the comments "about a year and a half ago."

Visit Business Insider's homepage for more stories.

Hillary Clinton says she wasn't thinking about the 2020 election when she said in a new documentary that "nobody likes" Sen. Bernie Sanders of Vermont.

In an interview with Variety about the film, which premiered at the Sundance Film Festival in Park City, Utah, on Saturday, the former first lady said she made the comments about Sanders more than a year ago and reiterated her plan to support this year's Democratic presidential nominee, whoever it may be.

"I think we did that interview about a year and a half ago," Clinton told Variety in an article published Monday. "I wasn't thinking about the election by any means. I've said I'm going to support the nominee. But I do think it's important to look at somebody's record and look at what they've gotten done and see whether you agree with that or not. I think that's what every voter paying attention should do."

Her disparaging comments were made in the film "Hillary," a four-hour documentary created using 35 hours of interviews with Clinton by the film's director, Nanette Burstein, per Variety. The film was originally supposed to focus on the 2016 election, though it eventually took a broader look at the former secretary of state's career.

Clinton also told Variety she wouldn't disclose who she planned to vote for in the 2020 Democratic primary, only that she would vote and urged others to do the same.

Clinton made headlines on January 21 when her comments from the film about Sanders were published by The Hollywood Reporter ahead of its premiere at Sundance. Clinton made the argument that her 2016 rival was a career politician with few friends.

"He was in Congress for years. He had one senator support him," she said, according to The Hollywood Reporter. "Nobody likes him, nobody wants to work with him, he got nothing done. He was a career politician. It's all just baloney, and I feel so bad that people got sucked into it."

Clinton received flak for her comments, and in response she tweeted that she thought people wanted to hear her "authentic, unvarnished views."

"But to be serious, the number one priority for our country and world is retiring Trump, and, as I always have, I will do whatever I can to support our nominee," Clinton added in the tweet January 21.