A suspect is in custody following a day-long manhunt after an Anne Arundel County police officer was shot outside an Annapolis convenience store early Friday morning.

Police said Colvin Lamar White, 30, of Annapolis was arrested without incident for the shooting of the officer.

The shooting happened just after 2 a.m. Friday. The officer, Cpl. Larry Adams, had been patrolling the area when he stopped at a 7-Eleven store in the 700 block of College Parkway, and someone inside the store told him that a man standing outside seemed suspicious.

T.J. Smith, a spokesman for Anne Arundel County Police, said the officer called for backup and went to confront the suspicious person.

Following a struggle and brief pursuit, White allegedly shot Adams in the upper torso. Smith said the gunman ran from the area on foot.

Adams was transported to the University of Maryland Shock Trauma Center in Baltimore, where he had several surgeries Friday. He remains in critical condition.

Officer Shot- Officer transported to Shock Trauma in Baltimore. Serious injury. NFI — Anne Arundel Police (@AACOPD) April 10, 2015

They said this is the first officer to be shot in the line of duty since July 2008.