(AP) — A report says nearly 400 law enforcement officials rushed to a mass shooting that left 21 people dead at a Uvalde elementary school.

But “egregiously poor decision-making” resulted in a chaotic scene that lasted more than an hour before the gunman was finally confronted and killed.

Download the free KHON2 app for iOS or Android to stay informed on the latest news

It is the first to criticize both state and federal law enforcement, and not just local authorities in Uvalde, Texas, for the bewildering inaction at Robb Elementary School.

The Texas House of Representatives report released to family members Sunday says the gunman fired approximately 142 rounds inside the building and it is “almost certain” that 100 shots came before any officer entered.

Check out what’s going on around the nation on our National News page

A hallway surveillance video also was released Sunday showing a hesitant and haphazard tactical response.