Kai Cenat — a popular online video creator — was released from police custody Saturday and will face charges of inciting a riot, New York City officials said as they released more details about a chaotic Friday giveaway gone wrong in Manhattan.

Cenat had announced on social media he would be doing a giveaway at New York’s Union Square, and thousands of people showed up in a scene that soon turned chaotic on Friday. Some young people later said they came expecting a new computer or PlayStation.

Cenat after being issued a desk appearance ticket, which police issue to require a suspect to appear in court to answer charges. A police spokesperson said a court date is set for Aug. 18.

On Friday, thousands of young people gathered following the announcement and some people climbed on top of cars and other structures, obstructing traffic in the area, leaving police struggling to control the crowds.

“The power of social media and the danger of social media” caused the crowd to swell and get out of hand in a matter of “minutes” Friday afternoon, NYPD Chief of Department Jeffrey Maddrey said Friday at a press conference.

Cenat live-streamed from a vehicle Friday, displaying gift cards he planned to give away. Noting the crowd and police presence, he urged, “Everybody who’s out there, make sure y’all safe. … We’re not gonna do nothin’ until it’s safe.”

A number of people were injured, including at least four people taken away in ambulances, said Maddrey, adding that he saw other people leaving the area with bloodied heads.

Police arrested 65 people, including 30 juveniles, authorities said. The gathering was not a permitted or sanctioned event, police said Friday.

Photos and video footage show dozens of people in handcuffs standing on Manhattan sidewalks, being escorted by police. Most of the people in the crowd Friday afternoon appeared to be young men.