Kevin Fret, a Puerto Rican social media star who billed himself as the first openly gay Latin trap artist, was fatally shot in San Juan early Thursday, according to the police and local news reports.

Mr. Fret, 25, was riding on a motorcycle in the Santurce neighborhood at about 5:30 a.m. when he was shot twice, in the head and the hip, the police said. He was taken to a nearby hospital, where he was pronounced dead.

The police had not yet released the name of the man who was shot pending identification of the body, but Mr. Fret’s manager, Eduardo Rodriguez, confirmed his death in a statement to Billboard.

His death came amid widespread concern about crime in Puerto Rico; on Wednesday, the top F.B.I. official there said the island was facing “a crisis of violence.”