Police said the man shot at officers and six officers returned fire on two occasions Saturday in Temple Hills, killing him the second time.
After the shooting stopped, officers found the girl in the car, suffering from a gunshot wound. She died later Saturday.
Polices say the man had led them on a chase after shooting and critically wounding two people in Camp Springs. They said they believe the victims are the girl's maternal grandfather and great-grandmother.