The White House’s deputy press secretary took to Twitter on Monday, seemingly defending the resignation of Defense Secretary Chuck Hagel by highlighting a number of old tweets in which Sen. John McCain, R-Ariz., and others questioned whether Hagel was capable of doing the job.

Eric Schultz, a spokesman for the White House, did so shortly after McCain released a statement saying that Hagel was frustrated with how the Obama administration made national security decisions.

“His predecessors have spoken about the excessive micro-management they faced from the White House and how that made it more difficult to do their jobs successfully,” McCain said of Hagel. “Chuck’s situation was no different.”

Schultz retweeted numerous messages from 2013, most published around the time of Hagel’s bruising confirmation process. A look at the deputy press secretary’s Twitter feed Monday morning:

The tweets were sent around the same time that Obama was lauding Hagel in the White House for his public service.

“Over nearly two years, Chuck has been an exemplary defense secretary, providing a steady hand as we modernized our strategy and budget to meet long-term threats while still responding to immediate challenges like ISIL and Ebola,” said Obama, using an acronym for the Islamic State. “Thanks to Chuck, our military is on a firmer footing engaged in these missions and looking ahead to the future.”

Schultz, reached through email, declined to comment. A spokesperson for the National Security Council referred comment back to Schultz.

Matt Lehrich, a former White House spokesman, added the following:

President Obama announced the resignation of Defense Secretary Chuck Hagel at a joint news conference on Monday. Hagel will continue as defense secretary until the president nominates a successor, who must also be confirmed by the Senate. (Associated Press)

The post was updated to reflect communication with Schultz.