Hector Camacho, a boxer known for his lightning-quick hands and flamboyant personality who emerged from a delinquent childhood in New York’s Spanish Harlem to become a world champion in three weight classes, died Saturday in San Juan, P.R., four days after after being shot while sitting in a parked car. He was 50.

His death was reported by Dr. Ernesto Torres, the director of the Centro Médico trauma center in Puerto Rico, who said Camacho had a heart attack and died a short time later after being taken off life support. He was declared brain dead on Thursday.

The police said that Camacho was shot in the left side of the face on Tuesday night as he sat in a black Ford Mustang with a friend, The Associated Press reported. The bullet fractured his vertebrae and was lodged in his shoulder when he was taken to the Puerto Rico Medical Center. The friend, Adrian Mojica Moreno, was also killed.