CARMICHAEL (CBS13) – Authorities have released video footage and more details about a Carmichael shooting last weekend that left one gang member and a detective in the hospital.

Video footage captured at the apartment complex shows a crowded parking lot area at the time of the shooting. Fifty-five shots were fired.

READ MORE: Cooling Centers Open In Sacramento Region This Week

You see the suspect, with a gun, carrying a child to a car and driving away. That suspect drove to an apartment on Ranger Way. There, undercover detectives in two different cars pulled that suspect over and approached him.

The suspect reportedly shot the detective and got out of the car and fired again. The detective returned fire, hitting the suspect and killing him.

Detectives say he was a 25-year-old Kershawn Geiger, a known gang member with a history of serious crimes. He was on parole at the time.

ALSO: Sacramento Family Speaks About What They Say Happened During Deadly Shooting Involving Sheriff’s Deputies

READ MORE: East Sacramento Neighborhood Power Turned Off For Maintenance Despite Hot Day

The passenger was also arrested.

The gang detective who was shot is a 15-year veteran of the force. He was released from the hospital Wednesday and is recovering at home.

The department says because they were undercover detectives, their cars didn’t have cameras. We don’t know if the detectives were wearing cameras, because body cam video was not released.

Click here to watch the full 11-minute video provided by the Sacramento County Sheriff’s Office.

MORE NEWS: Newsom Declares State Of Emergency, Grid Operator Urges Power Conservation For Second Day Amid High Heat

More from CBS Sacramento: