A West Palm Beach man died Friday after he won a roach-eating contest held by a reptile store in Broward County, officials said.

Edward Archbold, 32, died Friday shortly before midnight. He had collapsed in front of the Ben Siegel Reptile Store in Deerfield Beach, where he had taken part in the contest.

Investigators said Archbold and several other people signed up to eat a variety of insects for a chance to win a python. 

Archbold ate dozens of roaches and worms, and was declared the winner of the challenge.  Shortly after the contest ended, Archbold said he wasn't feeling well and he began to vomit before collapsing.

Archbold was taken to Broward Health North, where he was pronounced dead.

None of the other contestants reported any medical issues after the contest.

Investigators are awaiting the results of the autopsy before they can determine the cause of death.