A 29-year-old man accused of walking into a Subway restaurant on Burbank Drive with a handgun Wednesday morning and demanding a sandwich was arrested shortly after leaving the restaurant with the sandwich.

Daniel Hobdy, 1101 Rieger Road, Baton Rouge, was booked into Parish Prison on counts of armed robbery, Baton Rouge police spokesman Cpl. L’Jean McKneely said.

Baton Rouge and LSU police were called to the restaurant at 4250 Burbank Drive and arrested Hobdy nearby, McKneely said.