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)

President Obama delivered remarks after accepting Defense Secretary Chuck Hagel’s resignation. Obama’s speech was followed by one from Hagel.

President Obama:

Good morning, everybody. Please be seated. About a year ago, Secretary of Defense Chuck Hagel was visiting our troops in the Republic of Korea thanking them for their service and answering their questions. And they asked about the usual topics, about our national security, the future of our military. And then one soldier, a sergeant from Ohio, asked him what was the pertinent question of the day, which was what was your favorite college football team, to which Chuck replied, “Born and raised in Nebraska, I don’t have a choice. I am a strong Cornhuskers fan.”

Now, there was a time when an enlisted soldier might have been reluctant to ask that kind of question of the secretary of defense, but Chuck Hagel has been no ordinary secretary of defense. He was the first enlisted combat veteran to serve in that position. He understands our men and women like few others because he stood where they stood. He’s been in the dirt, and he’s been in the muck. And that’s established a special bond. He sees himself in them, and they see themselves in him. And their safety, their lives, have always been at the center of Chuck’s service.

When I asked Chuck to serve as secretary of defense, we were entering a significant period of transition: the drawdown in Afghanistan, the need to prepare our forces for future missions and tough fiscal choices to keep our military strong and ready.

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.

Thanks to Chuck, our military is on a firmer footing engaged in these missions and looking ahead to the future.

Last month, Chuck came to me to discuss the final quarter of my presidency and determined that having guided the department through this transition, it was an appropriate time for him to complete his service.

Let me just say that Chuck is and has been a great friend of mine. I’ve known him, admired him and trusted him for nearly a decade since I was a green-behind-the-ears freshman senator and we were both on the Senate Foreign Relations Committee.

If there’s one thing I know about Chuck, it’s that he does not make this or any decision lightly. This decision does not come easily to him, but I consider myself extraordinarily lucky to have had him by my side for two years.

And I am grateful that Chuck has agreed to stay on until I nominate a successor and that successor is confirmed by the Senate, which means that he’ll continue to guide our troops at this challenging time.

I’ll have more opportunity to pay tribute to Chuck’s life of service in the days ahead. For now, let me just say this.

Chuck Hagel has devoted himself to our national security and our men and women in uniform across more than six decades. He volunteered for Vietnam and still carries the scars and shrapnel from the battles that he fought.

At the VA, he fought to give our veterans, especially his fellow Vietnam veterans, the benefits they had earned.

As head of the USO, he made sure America always honors our troops.

As a senator, he helped lead the fight for the Post-9/11 G.I. Bill, which is helping so many of our newest veterans and their families realize their dreams of a college education.

As secretary, Chuck has helped transition our military and bolstered America’s leadership around the world. During his tenure, Afghan forces took the lead for security in Afghanistan. Our forces have drawn down. Our combat mission there ends next month, and we’ll partner with Afghans to preserve the gains we have made.

The NATO alliance is as strong as it has ever been, and we have reassured our allies with our increased presence in Central and Eastern Europe. We’ve modernized our alliances in the Asia-Pacific, updated our defense posture and recently agreed to improve communications between the U.S. and Chinese militaries.

Chuck has been critical to all these accomplishments. Meanwhile, Chuck’s ensured that our military is ready for new missions. Today, our men and women in uniform are taking the fight against ISIL [the Islamic State militant group] in Iraq and Syria, and Chuck helped build the international coalition to ensure that the world is meeting this threat together.

Today, our forces are helping support the civilian effort against Ebola in West Africa, a reminder, as Chuck likes to say, that America’s military is the greatest force for good in the world.

Finally, in a very difficult budgetary environment, Chuck has never lost sight of key priorities: the readiness of our force and the quality of our (sic) life of our troops and their families. He’s launched new reforms to ensure that even as our military is leaner, it remains the strongest in the world and so our troops can continue to get the pay, the housing, the health care, the child care that they and their families need — reforms that we need Congress to now support.

At the same time, after the tragedies that we’ve seen, Chuck has helped lead the effort to improve security at our military installations and to stamp out the scourge of sexual assault from the ranks.

And, Chuck, I also want to thank you on a personal level. We come from different parties, but, in accepting this position, you sent a powerful message, especially to folks in this city that when it comes to our national security and caring for our troops and their families, we are all Americans first.

When I nominated you for this position, you said that you’d always give me your honest advice and informed counsel. You have. When it’s mattered most, behind closed doors in the Oval Office, you’ve always given it to me straight. And for that I will always be grateful.

You know, I recall when I was a nominee in 2008, and I traveled to Afghanistan and Iraq. Chuck Hagel accompanied me on that trip, along with Jack Reed. And it’s pretty rare, at a time when sometimes this town is so politicized to have a friend who was willing to accompany a nominee from another party because he understood that whoever ended up being president, what was most important was that we were unified when we confronted the challenges that we see overseas.

And that’s the kind of class and integrity that Chuck Hagel’s always represented.

Now, Chuck, you’ve said that a life’s only as good as the family you have and the friends you surround yourself with, and in that you are blessed.

I want to thank Lilibet, your son, Ziller, and your daughter, Allyn, for the sacrifices that they’ve made as well. I know that as reluctant as we are to see you go, they are equally excited to be getting their husband and father back. And I’m sure the Cornhuskers are also happy that a fan will be there to cheer them on more often.

Today, the United States of America can probably claim the strongest military the world has ever known. That’s the result of the investments made over many decades, the blood and treasure and sacrifices of generations. It’s the results of the character and wisdom of those who lead them as well, including a young army sergeant in Vietnam who rose to serve as our nation’s 24th secretary of defense.

So, on behalf of a grateful nation, thank you, Chuck.

Chuck Hagel:

Thank you. Thank you very much.

(APPLAUSE)

Thank you.

(APPLAUSE)

Thank you very much.

Mr. President, thank you. Thank you for your generous words, for your friendship, for your support, which I have always valued and will continue to value into my — not old, but my — longtime dear friend Vice President Biden, who I have always admired and respected, and both the president and I have learned an awful lot from the vice president that over the years, thank you.

And I want to thank the deputy secretary of defense who is here, Bob Work, and the chairman of the Joint Chiefs of Staff, Gen. Marty Dempsey, who also is here. I want to thank them for being here this morning.

I also want to thank you both for your tremendous leadership of the Defense Department and what you mean to our men and women and their families all over the world, and for the honor I’ve had to serve with each of you, and the privilege it’s — it’s been in every way.

And I want to thank the entire leadership team at the Pentagon. Without their support and wise counsel over the last couple of years, our many accomplishments — and the president noted some — I have been part of that, but it’s a team. It’s all these tremendous men and women, as you know, Mr. President, that make this happen, and I couldn’t be prouder of them and what we have accomplished over the almost two years that I’ve had the honor of serving in this position.

And as the president noted, I have, today, submitted my resignation as secretary of defense. It’s been the greatest privilege of my life — the greatest privilege of my life to lead and, most important, to serve — to serve with the men and women of the Defense Department and support their families. I am immensely proud of what we’ve accomplished during this time.

We have prepared ourselves, as the president has noted, our allies and Afghan national security forces, for successful transition in Afghanistan. We’ve bolstered enduring alliances and strengthened emerging partnerships while successfully responding to crises around the world.

And we’ve launched important reforms that the president noted, reforms that will prepare this institution, the challenges facing us in decades to come.

I believe we have set not only this department, the Department of Defense, but the nation on a stronger course toward security, stability and prosperity. If I didn’t believe that, I would not have done this job.

As our country prepares to celebrate Thanksgiving, I want to — you, Mr. President, and you, Vice President Biden — acknowledge what you have done and how grateful I am to both of you for your leadership and your friendship, and for giving me this opportunity to serve our country once again.

I will continue to support you, Mr. President, and the men and women who defend this country every day so unselfishly, and their families, what they do for our country so unselfishly.

And as I have said, and as the president noted, I will stay on this job and work just as hard as I have over the last couple of years every day, every moment until my successor is confirmed by the United States Senate.

I’d also like to express my gratitude to our colleagues on Capitol Hill. My gratitude to them for their support of me, but, more importantly, their support of our troops and their families, and their continued commitment to our national security.

I also want to thank my international counterparts for their friendship and their partnership and their advice during my time as secretary of defense. Their involvement with me and their partnership with me in so many of these important areas as we build these coalitions of common interest, as you have noted, Mr. President, are so critically important. And to them, I am grateful. I will be forever grateful.

And, finally, I’d like to thank my family. My wife, Lilibet, who you have mentioned, Mr. President, who is with me this morning, as she has been with me throughout so many years and during so many tremendous experiences. And this experience and opportunity and privilege to serve as secretary of defense has been one of those. And my daughter, Allyn, and my son, Ziller.

Mr. President, again, thank you to you and to all of our team everywhere. And as we know, Mr. President, Mr. Vice President, it is a team effort. And that’s the — part of the fun of it, to help build teams and to work together to make things happen for the good of the country and make a better world. For all of that, I’m immensely grateful.

And to all of you, your families, happy Thanksgiving.

Thank you very much.