Gunshots rang out at the Hollywood Farmers’ Market Sunday morning and a man was taken into custody following a standoff with law enforcement.

Around 7:30 a.m., Los Angeles police received reports of a man with a handgun who had fired “multiple rounds” from an apartment balcony on the 1600 block of Cosmo Street.

Police responded and found no gunshot victims at the scene, but they did find the suspect who was seen throwing rocks, furniture and other items from the apartment balcony.

Around 9:20 a.m., Los Angeles police officials said there was an active standoff underway with the unidentified suspect and an LAPD SWAT team was called to the scene after the man barricaded himself inside the apartment.

Multiple officers with long guns and body armor could be seen in the area while police attempted to get the suspect to surrender.

By around 11:45 a.m., police confirmed that the suspected gunman was taken into custody after an hourslong standoff that saw police deploy tear gas as they breached the man’s apartment. The man was alone at the time of his arrest, police said.

No injuries were reported during the initial shooting or in the ensuing standoff, police said.

It’s unclear exactly how many shots were fired, but video shared with KTLA showed the suspected gunman standing on the ledge of a balcony as he fires off several quick rounds of a handgun before returning inside.

It appeared that the man was not aiming at any particular target when the shots were fired.

A vehicle on the ground level where the shooting had been reported earlier appeared to have a message possibly from the alleged shooter in which he claims he is of sound mind and body. On the trunk of the car he scrawled out a makeshift final will and testament and then signed it as Joseph Ashton De La Cruz, although the suspect in the shooting has not been formally identified by police.

The Hollywood Farmers’ Market was closed for the investigation.

Farmers’ Market organizers posted a statement on Facebook that said in part, “We’re glad our staff and vendors are OK.” Shoppers were also encouraged to visit the Farmers’ Market sister location at Atwater Village.