Prosecutors on Monday identified a man killed during a shootout late last week outside a King of Prussia gym.

Alan Womack Jr., 28, of King of Prussia, was pronounced dead at Paoli Hospital late Friday, according to a spokesperson for the Montgomery County District Attorney’s Office. Womack had been found with a gunshot wound in his upper body outside LA Fitness in King of Prussia Town Center.

Investigators said Womack was shot during a dispute with another man that stemmed from a pickup basketball game they played in earlier inside the gym. Afterward, the two got into an argument that continued into the parking lot. The men — both with permits to carry guns — exchanged gunfire, investigators said.

The investigation was continuing Monday.

Womack, a Philadelphia native, was a 2015 graduate of Fisher College in Boston, where he played on the men’s varsity basketball team, according to a profile on the college’s website. He was an alumnus of Mathematics, Civics and Sciences Charter School in Center City.