Former Alaska Senator Mike Gravel berated Democratic presidential candidates former Vice President Joe Biden and South Bend, Indiana Mayor Pete Buttigieg on Thursday.

Gravel, who launched a 2020 parody presidential campaign where he admitted he was not running to win, told The Hill in an interview that Buttigieg 'doesn't say anything more than the fact that he's gay and that energizes the gay community.'

He mistakenly referred to Buttigieg as the ‘Mayor of Indiana,’ a position that does not exist.

Buttigieg is openly gay and has been married to his husband Chasten Glezman since June 2018. The two say they want to have children.

The mayor's campaign declined to comment on Gravel's remarks.

In the interview, he also took aim at former Barack Obama's vice president, calling him 'off the rails,' even though Biden is widely viewed as a moderate Democrat compared to the rest of the 2020 field.

Former Alaska Mayor Mike Gravel attacked South Bend, Indiana Mayor Pete Buttigieg and former Vice President Joe Biden's campaigns on Thursaday

The former Alaska senator said Buttigieg 'doesn't say anything more than the fact that he's gay and that energizes the gay community,' and claimed Biden is 'off the rails' due to his 'conventional wisdom'

Buttigieg is openly gay and has been married to his husband Chasten Glezman since June 2018

'You have to look at what this person represents ideologically,' Gravel said of the former vice president, who is making his third bid for the White House. 'Biden ideologically is off the rails. He's conventional wisdom, but conventional wisdom is off the rails in the United States.'

The former senator represented Alaska in the Washington, D.C. from 1969 to 1981 and is 88-years-old, far older than any of the other 21 Democrats running for the party's nomination next year.

Independent Vermont Senator Bernie Sanders comes is second eldest at 77-years-old, and Biden is in a close third at 76.

Buttigieg, on the other hand, in the youngest candidate at 36-years-old.

If Biden, Sanders or Gravel were to win the nomination and defeat President Donald Trump in 2020, they would become the oldest entering president.

While speaking on Thursday, Gravel was also critical of Biden's handling of the Anita Hill hearings.

AGES OF THE 2020 CANDIDATES ON INAUGURATION DAY As of April 8, 2020 there were two major party candidates in the 2020 presidential election. Here is the age each of them would be on Inauguration Day 2021 if he were to win: Former Vice President Joe Biden (D) : 78 years, 2 months, 1 day

: 78 years, 2 months, 1 day President Donald Trump (R) : 74 years, 7 months, 7 days Advertisement

Biden was chairman of the Senate Judiciary Committee when Hill testified over allegations of inappropriate behavior towards her from then-Supreme Court nominee Clarence Thomas.

'Joe was chairman of the Judiciary Committee, he wasn't a kid,' Gravel said. 'He'd been in the Congress long enough to know the difference between right and wrong. When he was Chairman he denied the ability to bring in two additional witnesses that would have corroborated Anita Hill.'

In his first television appearance after announcing last month, Biden did not apologize for the way he treated Hill 28 years ago.

'I'm sorry the way she got treated,' Biden told ‘The View’ co-hosts and audience. 'If you go back and look at what I said and I didn't say, I don't think I treated her badly. I took on her opposition.'

He said what he didn't figure out how to do at the time was, 'stop people from asking inflammatory questions.’

Gravel originally said he was not running to win, but just wanted to get to the Democratic debate stages where he could share his ideas and then endorse another candidate. A few weeks after launching, his campaign announced that he was now running to win

Gravel's campaign, which is run but a 17-year-old high school senior, posted to his Twitter

‘How do you stop these character assassinations outside? There was a full blown attack on her in order to get the defense for Clarence Thomas. And no woman or any victim of harassment should ever be put through that circumstance in public hearings,' Biden said.

Gravel said in a draft of his campaign plan that he did not plan on seriously seeking the presidency, but said his goal was to get on the Democratic primary debate stage so he could bring attention to what he believes is important.

'The goal of a Gravel 2020 campaign would not be to win, but instead to draw attention to the central issues that Sen. Gravel has focused on over the previous decades,' the campaign plan indicates. '[T]he ultimate goal would be to gain media attention and then endorse either Rep. Gabbard or Sen. Bernie Sanders before the Iowa caucuses.'

Gravel, who also ran for president in 2008, did not call out Sanders or Gabbard in his rant Thursday.

Weeks after launching his campaign, which was designed to fail, Gravel made another announcement via Twitter: 'WE'RE RUNNING TO WIN FOLKS'.

Notably, the former Alaska senator's campaign manager is a 17-year-old high school senior.