(CNN) Democratic presidential candidate Pete Buttigieg says it's likely he wouldn't be America's first gay commander-in-chief if he's elected in 2020.

In an interview with Axios on HBO that aired Sunday, Buttigieg said he believes it's probable that some of the country's former presidents were gay.

"I would imagine we've probably had excellent presidents who were gay — we just didn't know which ones," the Indiana Democrat said.

"Statistically, it's almost certain," he added.

His answer was in response to a question from Axios on how he would respond when critics say he's "too young, too liberal, too gay to be commander-in-chief."

Read More