Anne Arundel county police spokesman T.J. Smith said during a news conference Friday that the search continues for a suspect who shot and critically wounded a police officer near Annapolis. (WUSA9)

An Anne Arundel County police officer was shot and critically wounded Friday morning near Annapolis, and authorities said late Friday night that a suspect was in custody.

Police said the suspect was picked up in Severn, and they identified him as Colvin Lamar White, 30, of the 1600 block of Clay Hill Road in Annapolis.

He was charged with attempted murder and other offenses, police said, including conspiracy to commit robbery.

It appeared that the man may have been picked up as early as 9 a.m., as a “person of interest.” Late Friday, police said they were continuing to investigate.

Police spokesman T.J. Smith said the officer went to a 7-Eleven in the 700 block of College Parkway East in Arnold, near Annapolis, shortly after 2 a.m. Friday. A person there told him that someone standing outside the store seemed suspicious. After calling for backup, the officer confronted the man, Smith said.

Interview with @TJSmithAACoPD on active search for shooting suspect @47abc

Posted by Emily Lampa - WMDT 47 News on Friday, April 10, 2015

The man and the officer ran 100 to 200 feet from the 7-Eleven, Smith said, when the man apparently shot the officer at least once in the upper body.

Smith said that it was not clear whether the officer, who was not identified by police, fired at the man. The officer’s weapon was not taken in the confrontation, he said. He said police searched the area around the 7-Eleven on foot and with dogs.

It was not clear whether the gun used in the attack was found.

The officer was being treated at Maryland Shock Trauma Center in Baltimore and was listed in critical condition late Friday after undergoing several surgeries, police said.