A man was shot and wounded by a Maine state trooper Sunday morning following a standoff in Ellsworth that began Saturday.

Jeffrey Barnard, 50, underwent surgery Sunday afternoon at Eastern Maine Medical Center in Bangor. His condition was not available Sunday night.

Barnard was shot about 6:30 a.m. Sunday by Maine State Trooper Scott Duff, a 17-year veteran, said Stephen McCausland, spokesman for the Maine Department of Public Safety. Barnard’s wife, Vicki, 56, was also involved in the standoff but was not hurt.

The standoff began at a camper parked on North Street, where Ellsworth police had cited Barnard for a violation on Friday.

At noon Saturday a team of negotiators arrived to try to resolve the situation, McCausland said. A Maine State Police tactical team then responded to the scene overnight.

The Maine Attorney General’s Office is investigating the incident.

Duff, a member of the tactical team, has been placed on administrative leave with pay, which is standard procedure.