Soulja Boy’s 26th birthday party ended with a bang - literally. The rapper held a b-day bash at a recording studio in Los Angeles when one of the partygoers gets shot outside early Friday morning (July 29).

Details are sketchy, but TMZ reports that a guest was approached by a masked gunman outside of the studio. The male suspect pulled up in a car and attempted to rob the victim but a struggle ensued. That’s when the victim was apparently shot in the arm.

The wounded man was rushed to the hospital and treated for non-life-threatening injuries. Meanwhile, cops don’t have a suspect and there’s no word on if the gunman took anything from the victim.

As for Soulja Boy, sources told the gossip website that he left the party before the shooting happened.

Outside of the unfortunate incident, the “Crank That” rapper had a helluva birthday party. Among the guest in attendance included rapper-singer Sean Kingston.

"Birthday vibes studio flow good energy friends family and working on my music all I'm focused on," wrote Soulja Boy on his Instagram.

Check out photos from SB's birthday soiree above and below.

More From 107 JAMZ