President Donald Trump just named Army Lt. Gen. H.R. McMaster as his next national security adviser.

The 54-year-old Army officer is the epitome of the warrior-scholar, and he's as well known for his heroics in battle as he is for his intellectual pursuits.

Though Michael Flynn, whom McMaster is replacing, was rather controversial — the retired general peddled conspiracy theories and ultimately resigned amid accusations he misled Vice President Mike Pence about a phone call with Russia's ambassador to the US — I don't suspect anything other than professionalism and solid advice being given to the president by McMaster.

Here's why.

He commands a great deal of respect from his troops

Much like Defense Secretary Jim Mattis, who was revered by his troops while serving as a general in the Marine Corps, McMaster has earned a great deal of respect from soldiers. That's because his career has been marked by personal heroism, excellent leadership, and his tendency to buck traditional ways of thinking.

As a captain during the Gulf War in 1991, McMaster made a name for himself during the Battle of 73 Easting. Though his tank unit was vastly outnumbered by the Iraqi Republican Guard, he didn't lose a single tank in the engagement, while the Iraqis lost nearly 80. His valor and leadership that day earned him the Silver Star, the third-highest award for bravery.

Then there was his leadership during the Iraq War, during which he was one of the first commanders to use counterinsurgency tactics. Before President George W. Bush authorized a troop "surge" that pushed US forces to protect the population and win over Iraqi civilians, it was McMaster who demonstrated it could work in the city of Tal Afar.

He's far from a being a 'yes' man

McMaster is the kind of guy who says what's on his mind and will call out a wrongheaded approach when he sees one. That tendency is something that junior officers love, but those maverick ways are not well-received by some of his fellow generals. Put simply: McMaster isn't a political guy, unlike other officers who are trying to jockey for position and move up in their careers.

In 2003, for example, McMaster criticized then-Defense Secretary Donald Rumsfeld's Iraq War plan that placed too much of an emphasis on technology. McMaster also pushed back on his boss' refusal to admit an insurgency was starting to take hold in 2004.

He has been held back in his career because of it — he was passed over two times for his first star — but it wasn't because of incompetence. Instead, his fight to be promoted from colonel to brigadier general was seen as pure politics, and McMaster doesn't like to play. He was eventually promoted in 2008, but that hasn't made him any less outspoken.

He's a strategic thinker with a Ph.D.

McMaster has a lot in common with another well-known general: David Petraeus.

In fact, he was one of a select few officers who were in the Petraeus "brain trust" during the Iraq War.

McMaster is an expert on military strategy, counterinsurgency, and history. And he, like Petraeus, stands out among military officers, since both earned advanced degrees. McMaster holds a Ph.D. in history from the University of North Carolina, where his dissertation went far beyond the readership of just a few professors.

Titled "Dereliction of Duty," McMaster's dissertation became an authoritative book on how the US became involved in the Vietnam War. Much of the book's focus is on the Joint Chiefs of Staff, whom McMaster criticized for failing to push back against President Lyndon B. Johnson.

"McMaster stresses two elements in his discussion of America's failure in Vietnam: the hubris of Johnson and his advisors and the weakness of the Joint Chiefs of Staff," a review on Amazon says.

Whether McMaster can transition well from the Army to the White House is the big question now, but he's one of the best people Trump could have picked. And like Mattis, he seems unafraid to challenge the president's views.

"He's not just a great fighter and not just a conscientious leader," one Army officer told me of McMaster. "He's also an intellectual, a historian, and a forward-thinking planner who can see future trends without getting caught up in bandwagon strategic fads."

That's exactly the kind of person Trump needs.