President Trump has given White House chief of staff John Kelly the full authority to run the White House as he sees fit and said everyone on the staff will report to him.

The move comes after the last several days in which ousted White House communications director Anthony Scaramucci made waves by saying he has a direct line to Trump.

Kelly was brought on to help bring discipline and order to what many have said is a chaotic White House, and spokeswoman Sarah Sanders confirmed Monday that Kelly is free to run it as he likes.

"Gen. Kelly has the full authority to operate within the White House, and all staff will report to him," she said.

When asked if all access to Trump will be controlled through Kelly, Sanders added, "The president's given full authority to Gen. Kelly, and he'll make those determinations."

Trump has preferred working with retired generals in his White House, and Sanders made it clear that Kelly's brand of discipline will be welcomed after several weeks of firings and leaks that have damaged the Trump administration.

"As we laid out, Gen. Kelly I think will bring new structure to the White House, and discipline and strength," she said. "And we're all really excited to work with him."

She also said Trump was not a fan of Scaramucci's profane and off-the-cuff remarks to the New Yorker. Other reports have said Trump quickly became annoyed at how much Scaramucci was in the press, just 10 days after he announced that the New York businessman was hired.

"The president certainly felt that Anthony's comments were inappropriate for a person in that position," Sanders said. "And he didn't want to burden Gen. Kelly also with that line of succession."