OAKLAND -- A deputy shot during a police-involved fatal shooting in East Oakland over the weekend has been released from the hospital and is expected to be on medical leave for a while, police said Monday.

The 42-year-old deputy, a 16-year veteran with the Alameda County Sheriff's Office, was shot in the foot following a traffic stop Saturday night, when a suspect dragged another deputy with his SUV. The deputies' subsequent gunfire killed the suspect, said Sgt. J.D. Nelson.

The suspect, in his early 30s, has not been identified and died after the 9:45 p.m. confrontation at 33rd Avenue and San Leandro Street -- about one block from the Fruitvale BART station.

The incident began when two deputies pulled over the suspect's Ford SUV and saw a passenger put something under his seat, which turned out to be drugs, Nelson said. The deputies pulled the passenger out of the car and arrested him.

A second pair of deputies drove up to help out and when they approached the driver, he sped away, Nelson said. A deputy on the passenger side was dragged by the vehicle, while two other deputies opened fire. The gunfire wounded the driver several times, who subsequently crashed into a building about a block away.

Authorities found a gun in the suspect's car, but it was not clear who shot the deputy, Nelson said.

Police on Monday had also not released additional details including which of the two deputies shot the suspect.

The injured deputy was resting at home on paid administrative leave on Monday after being released Sunday afternoon from Highland Hospital, Nelson said.

"He'll be off for a while, because the gunshot wound shattered one of the bones and he has a bullet hole in his foot," Nelson said.

The other deputy who fired shots is a 11-year veteran, Nelson said. The 39-year-old deputy, whose name is not being released, was also placed on paid administrative leave while the case is being investigated, as is the Sheriff's Office policy. The Alameda County District Attorney's Office is monitoring the investigation, which is being conducted by Oakland Police Department detectives.

Contact Natalie Neysa Alund at 510-293-2469. Follow her at Twitter.com/nataliealund.