A 35-year-old man was in critical condition Tuesday after he was shot by law enforcement officers in Nebraska's capital, authorities said.

Chace Abney, who had a Nevada driver's license but was living in New York, was shot Monday by officers with the Lincoln police and the Nebraska State Highway Patrol, said Lancaster County Sheriff Terry Wagner. His department is investigating the shooting.

No officers were injured, Wagner said.

NEBRASKA POLICE OFFICERS WOUNDED, SUSPECT KILLED IN SHOOTOUT DURING ATTEMPTED BURGLARY

The shooting occurred during an undercover operation conducted by the Lincoln-Lancaster County Narcotics Task Force at a motel in west Lincoln.

Omaha, Lincoln, Nebraska city crime

Chace Abney, 35, of New York, was shot and critically wounded by police in Lincoln, Nebraska, after following them into a parking lot, ignoring their commands, and firing a gun at them. (Fox News)

Abney was not a target of the drug investigation but he followed two officers in his car to a nearby parking lot. He did not obey commands to get out of his vehicle and then fired one shot at the officers, Wagner said.

NEBRASKA POLICE SHOOT, KILL HEAVILY ARMED MAN AT OMAHA TARGET

The investigators returned fire, striking Abney more than once, the sheriff said.

Wagner said it was unclear why Abney followed police from the hotel, where he had been a guest.

CLICK HERE TO GET THE FOX NEWS APP

Abney has ties to Lincoln and had been in the state for about a week for a family function, the sheriff said. The weapon he used was reported stolen in Norfolk.