A Corpus Christi man admitted to robbing a local Whataburger in federal court Monday..

Dveaunta Montez Hall, 22, pleaded guilty to robbery and brandishing a firearm in furtherance of a crime of violence, according to a news release from the U.S. Attorney's Office for the Southern District of Texas.

In March 2018, Corpus Christi police responded to an aggravated robbery at a Whataburger in the 4100 block of South Staples Street.

When they got to the scene, officers learned Hall had gone inside the restaurant, pointed an assault riffle at employees and patrons and demanded money. He then fled the scene on foot but was soon located, according to the release.

Hall was found in a parking lot in the 800 block of Barry and had the assault rifle pointed in the air, police said at the time. He was taken into custody and identified by a witness at the Whataburger, police said.

Police later learned he'd stolen the gun from an apartment before committing the robbery, the release states.

Senior U.S. District Judge John D. Rainey accepted Hall’s plea and scheduled his sentencing for March. He faces up to 20 years in prison and a maximum $250,000 fine for the robbery, the release states, according to the news release.

For brandishing a firearm, he faces at least seven years in prison, which would run consecutively with any other prison term that may be imposed, the release states.