Steve Bannon — who enraged President Trump with harsh comments about his administration and children — is stepping down from his perch atop Breitbart News, the company announced Tuesday.

Bannon sealed his fate with statements published in the searing book “Fire and Fury,” in which he called First Daughter Ivanka Trump “dumb as a brick” and said a campaign meeting with shady Russians at Trump Tower was “treasonous” and “unpatriotic.”

The president responded by slamming him as “Sloppy Steve” on Twitter and issuing a scathing statement minimizing the role played by his onetime ally.

“Steve Bannon has nothing to do with me or my presidency,” Trump said last week.

Bannon later apologized, but the president refused to accept his mea culpa.

Perhaps more damaging, Bannon lost the support of conservative billionaire Rebekah Mercer — a major Breitbart investor — after his remarks became known.

A source close to Bannon suspected that Mercer and her father Bob were behind Bannon’s ouster.

“I spoke to Steve yesterday. Everything was fine. People at Breitbart said everything was fine,” the source told The Post.