Eight people were shot Monday afternoon at a holiday celebration at Martin Luther King Jr. Memorial Park in Miami.

Several others were injured in a stampede as people fled the gunfire, which broke out about two hours after the annual Martin Luther King Jr. Day Parade had ended.

“It was good until you had these idiots out there shooting,” Terrell Dandy, who was in the park, told the Miami Herald.

Police arrested two people and recovered two weapons shortly after the incident, but the circumstances of the shooting were still unclear, the paper said.

Cops evacuated and closed the park, where postparade festivities have become a tradition.

One of those shot, Jerome Battle, 20, was in critical condition Monday night; the others were listed in stable condition.

Cops were unsure of the motive.

“The nature of the shooting, we don’t have information on that right now,” Miami-Dade Detective Marjorie Eloi told the Herald.

“There was no gun exchange on our part.”