FORT MEADE, Maryland (AP) — Two cross-dressing men who were shot at by National Security Agency police when they disobeyed orders at a heavily guarded gate had just stolen a car from a man who picked them up for a motel "party," police said Tuesday.

The FBI said the driver, Ricky Shawatza Hall, 27, died at the scene, and his passenger remained hospitalized Tuesday with unspecified injuries. An NSA police officer was treated for minor injuries and released.

NSA police opened fire on the stolen sports utility vehicle after Hall failed to follow instructions for leaving a restricted area, authorities said.

As it turns out, Hall and his passenger had just driven off in the SUV of a 60-year-old Baltimore man, who told investigators that he had picked up the two strangers in Baltimore and brought them to a Howard Country motel to "party."

Police "can't confirm there was any sexual activity involved," spokeswoman Mary Phelan told The Associated Press on Tuesday. She also declined to elaborate on whether drugs or alcohol were part of their plan.

The sports utility vehicle's owner, who has not been publicly identified, said they checked into a room at the motel at about 7:30 a.m. Monday, and that he used the bathroom about an hour later. When he came out, the men were gone, along with his car keys.

He called police to report the stolen car, and only minutes later, just before 9 a.m., the men took a highway exit that leads directly to a restricted area at the NSA entrance at Fort Meade.

The two men were dressed as women, but "not in an attempt to disguise themselves from authorities," FBI spokeswoman Amy Thoreson said.

Hall has a lengthy criminal record that includes assault and robbery charges. In 2013, Hall was charged after he assaulted a woman and stole a bottle of methadone from her pocket. Court papers show that Hall had been wearing a yellow dress at the time of the assault and was mistaken for a woman. In 2014, Hall was charged with robbery after stealing a vest and skirt from a Baltimore clothing store.

The FBI has ruled out terrorism, and no one has explained yet why the men ended up in a restricted NSA area.

However, the new timeline suggests they may have simply taken a wrong turn while fleeing the motel, about 12 minutes away.

Once so secretive that it was known as "No Such Agency," the NSA is now in some ways just another part of the suburban sprawl between Baltimore and Washington. Thousands of daily commuters who traverse the Baltimore-Washington Parkway pass its heavily secured campus at Fort Meade each day. About 11,000 military personnel and about 29,000 civilian employees with security clearances work inside the barbed wire.

It's not uncommon for drivers to take the wrong exit and end up at the tightly secured gates.

Most drivers then carefully follow the orders of heavily armed federal officers and turn around without getting into more trouble. In this case, authorities say the men ignored instructions on how to leave, and ended up stuck behind barriers. Police ordered them to stop, and then things escalated quickly.

"The driver failed to obey an NSA Police officer's routine instructions for safely exiting the secure campus," Jonathan Freed, an NSA spokesman, said in a statement. The vehicle failed to stop, then "accelerated toward an NSA Police vehicle blocking the road. NSA Police fired at the vehicle when it refused to stop. The unauthorized vehicle crashed into the NSA Police vehicle."

It's not the first time someone has disobeyed orders at an NSA gate. In July, a man failed to obey an NSA officer's command to stop as he approached a checkpoint. That man drove away, injuring an NSA officer and nearly striking a barricade. He was later arrested and is awaiting trial on federal charges.