A security guard is in critical condition after he was shot during an armed robbery at the University of Maryland University College Inn and Conference Center.

The victim was shot on the loading dock of the Hyattsville conference center at about 2 a.m. Tuesday, University of Maryland police say.

"Early Tuesday morning, two men attempted to rob the hotel," a statement from Marriott said. "A Marriott security officer was shot while responding to the situation."

Gun magazine found by @UMPD officers searching for 2nd shooting, robbery suspect @nbcwashington pic.twitter.com/961JbrrqmO — Kristin Wright (@kwrightnbc4) September 6, 2016

The victim was transported to the hospital with critical injuries.

"This security guard is just a tremendous guy," said University of Maryland Police Chief David Mitchell.

The hotel's general manager said the suspects got away with three lock boxes, but they were found nearby, along with a gun.

A suspect was found hiding in the woods across the street from the robbery and was taken into custody.

[[392674061, L,300,400]]

On Wednesday, police identified the suspect as 24-year-old Jamal Ulysses Green, of D.C. Green is facing numerous charges, including attempted first-degree murder and attempted second-degree murder and armed robbery.

The search for the second gunman is underway. Investigators do not have a good description of the suspect who remains at large. He is about 5-feet-10 inches to 6-feet tall and about 180 to 200 pounds, police said. He was wearing a ski mask, yellow gloves, a short-sleeve blue shirt, dark pants and brown hiking boots.

Anyone with information that can help police is asked to call 301-405-3555.