White House press secretary Sarah Sanders said Tuesday the Department of Justice should "certainly look at" whether to prosecute former FBI Director James Comey over recent actions.

"That's not the president's role. That's the job of the Department of Justice and something they should certainly look at," Sanders said during Tuesday's White House press briefing when asked if President Trump would encourage the Justice Department to prosecute the former FBI director.

Sanders also said "anybody that breaks the law" should "certainly be looked at."

"If they determine that's the course of action to take, then they should certainly do that," she said of the Justice Department prosecuting Comey. "I'm not here to ever direct DOJ in the actions they take."

Former White House strategist Steve Bannon revealed in an interview with CBS on Sunday he believed firing Comey in May was the biggest mistake made by a president in "modern political history."

But the White House reiterated both Monday and Tuesday Trump stands by his decision, and said recently revealed information about Comey and his actions justify his dismissal.

"The president is proud of the decision that he made. The president was 100 percent right in firing James Comey," Sanders said Tuesday. "He knew it could be bad for him politically and felt he had an obligation to do what was right for the American people and men and women at the FBI."

Special counsel Robert Mueller continues to investigate Russian meddling in the election due to Trump's dismissal of Comey.

Sanders said Comey admitted to leaking privileged government information before he was fired to the New York Times, an infraction the White House press secretary said would have resulted in "serious repercussions" for an FBI agent who did the same thing, and accused him of giving false testimony to Congress.

Sanders also pointed to revelations Comey began drafting an exoneration statement for Hillary Clinton before interviewing her or several of her close aides as proof Trump made the right call in firing Comey.

"He is very happy with the decision he made," she said. "I think he has been fully vindicated by a lot of those new things and knowing that it was the right one."