A Baltimore man accused of crashing through a gate at the National Security Agency and leading police on a high-speed chase was convicted of conspiracy, carjacking and destruction of government property in federal court this week.

Dontae Small, 43, faces as much as 30 years on the charges stemming from the Oct. 4, 2015, incident.

Small was riding in a white minivan with a group of men who had robbed victims of a car and a phone in the Federal Hill area of Baltimore, according to a statement from the U.S. attorney's office in Maryland.

The group headed to Arundel Mills Mall with the stolen car and minivan. Police spotted the group and tried to stop Small as he unlocked the doors of the stolen car, but Small got in the car and sped away, prosecutors said.

Small led police on a high-speed chase, during which he turned onto the entrance road to the Fort Meade installation that houses the NSA. He then rammed into a gate before bailing out of the car, prosecutors said. Small hid in a storm drain for a day before he emerged and police apprehended him.

He is scheduled to be sentenced in February.