Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

BETHESDA, Md. — President Donald Trump on Saturday awarded a Purple Heart to an Army sergeant recently wounded in Afghanistan, the first of many Trump likely will award during his service as commander in chief of the U.S. military.

"When I heard about this ... I wanted to do it myself," Trump said during a brief ceremony at Walter Reed National Military Medical Center in Bethesda, Maryland, outside Washington. The medal went to Sgt. 1st Class Alvaro Barrientos, who was wounded in action on March 17 in Afghanistan during what is now America's longest war. The White House did not release Barrientos' hometown.

"Congratulations on behalf of Melania and myself and the entire nation. Tremendous," said Trump, mentioning his wife.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

It was Trump's first visit as president to the military hospital.

Barrientos, whose right leg below the knee had been amputated, was brought into a hospital atrium in a wheelchair, accompanied by his wife, Tammy.

Trump kissed Barrientos' wife before pinning the medal on the sergeant's left shirt collar, grasping Barrientos by the shoulders and then shaking his hand. The Purple Heart is awarded to service members who are wounded or killed in action.

Besides Barrientos, Trump met privately with about a dozen service members who are receiving care at the medical center.

President Donald Trump applauds after awarding a Purple Heart to U.S. Army Sgt. 1st Class Alvaro Barrientos, with his wife Tammy Barrientos, and First Lady Melania Trump, at Walter Reed National Military Medical Center, April 22, 2017, in Bethesda, Maryland. Alex Brandon / AP

Before leaving the White House, the president tweeted that he looked forward to "seeing our bravest and greatest Americans."

Trump's decision to allow news media coverage of the medal ceremony was in sharp contrast to former President Barack Obama, who awarded Purple Heart medals during his own regular visits to Walter Reed but always did so behind closed doors.

Trump was driven to Maryland instead of flying in the Marine One helicopter, the way presidents typically travel to Walter Reed, due to annual public tours of the White House south grounds and gardens that were taking place Saturday.

As the motorcade exited the complex, nearby sidewalks were lined with people who had come to Washington on Saturday, which is also Earth Day, to promote science and defend it from attack, including Trump's proposed budget cuts. Some held signs that said "Support Science" and "Science Saves Lives."