It happened Thursday night near Cedar and Tulare in Fresno.
Police say this was an attempted robbery that turned into a shooting.
It involved two different groups of Bulldog Gang members.
The victims were returning to a home on Nevada avenue after grabbing some beer at a store
when another group of Bulldogs pulled up and tried to steal their beer.
The suspects pulled out a gun and started shooting.
The victim's group of gang members got into a car and drove away.
Police saw the car driving erratically and pulled them over.
Inside they found a man who had been shot in the foot.
Officers called for an ambulance and the victim was taken to the hospital. He is expected to survive.
It's believed that someone in the suspect's group may have been shot by one of his companions.
No one in the suspect group has been located, and so far no one has turned up at the hospital.
Investigators have detained four members of the victim's group, and are trying to get to the bottom of things.