Pete Buttigieg says 'statistically' we've already had a gay president -- meet President James Buchanan
Mayor Pete Buttigieg -- CNN screenshot

In an interview with Axios, Mayor Pete Buttigieg said that "statistically" it makes sense that out of the 45 presidents in American history, one of them was LGBT. Statistics aside, the reality is that former President James Buchanan has prompted historians to question.

The moment came when the Axios HBO show questioned what the young mayor would do when he's attacked for being "too gay."

"Republicans claimed that John Kerry was a traitor in Vietnam. That Barack Obama was a Muslim. If you were to win the nomination, they'll say you're too young, too liberal, too gay to be commander-in-chief. You are young. You are a liberal. You are gay. How will you respond?" asked Mike Allen.

"I'll respond by explaining where I want to lead this country. People will elect the person who will make the best president. And we have had excellent presidents who have been young. We have had excellent presidents who have been liberal. I would imagine we've probably had excellent presidents who were gay — we just didn't know which ones," said Buttigieg.

Allen questioned if Buttigieg truly believed we'd had a gay president, to which he responded, "statistically" it must be the case.

Former President Bill Clinton was heralded as the "first Black president," because of the work he did for people of color. Similarly, former President Barack Obama was referred to as the "first gay president," for similar overtures. But TIME magazine acknowledged that Buchanan was likely the first.

Historian Jim Loewen is one of several who thinks that Buchanan was America's first gay president," TIME reported in 2012.

"He is the only president to have remained a bachelor throughout his life," the report explained, recalling his niece who took over the duties of first lady. "He shared a home with William Rufus King, an Alabama Senator and Vice President under Buchanan's predecessor, Franklin Pierce. Their relationship was reportedly so close that Andrew Jackson and other contemporaries referred to them as 'Miss Nancy' and "Aunt Fancy.' "

"Aunt Fancy" was a commonly used 19th-century euphemism for an effeminate man, wrote Judith S. Neaman and Carole G. Silver in The Wordsworth Book of Euphemisms.

Former Tennessee Governor Aaron V. Brown, who served as the Postmaster General similarly had a nickname for Buchanan, referring to William Rufus King as Buchanan's "better half."

In the 1800s, "The Closet" was not a phrase used for anything other than a wardrobe where one puts one's clothes. So, Buchanan never came out of the closet to all Americans.

Watch Mayor Pete below: