OAKLAND -- A parolee who authorities said violently fought a police captain who saw him discard an assault rifle was charged Monday with possession of an assault weapon and battery on a police officer.

Dantjuan McElroy, 30, who gave an address in North Highlands in Sacramento County but who has links to Oakland, will be arraigned on the charges Tuesday. McElroy, who is on parole for driving under the influence, is being held without bail.

The confrontation Saturday between McElroy and Capt. Ersie Joyner III, began about 7 p.m. Joyner, a patrol commander who knows McElroy from prior cases, was alone on patrol when he saw a Mercedes-Benz make a U-turn in front of him in the 8700 block of International Boulevard. The car was similar to one involved in a robbery and some police pursuits.

Joyner followed the car which stopped at 91st Avenue and B Street where McElroy, the passenger, got out and ran.

Joyner said he could see the wooden handle of a gun sticking out of McElroy's pants. Joyner radioed for help and began following McElroy first in his car and eventually on foot. McElroy ran onto 90th Avenue where Joyner said he saw him throw the gun into a backyard.

Joyner attempted to arrest McElroy at that time but he ran off again, dropping a bag of marijuana on the way. Joyner chased him to the 9100 block of D Street where McElroy said he was going to fight him.

Joyner, who had no Taser, began exchanging punches with McElroy for several minutes before a cover officer finally arrived and used his Taser on McElroy who fell to the pavement and was eventually handcuffed.

The unloaded assault rifle, similar in appearance to a submachine gun which fires .45 caliber bullets, was found in the yard.

Police are still seeking the Mercedes-Benz and the driver. Anyone with information can call police at 510-238-3326.