Colorado suspect got assault weapon 6 days before shooting

This undated photo provided by the Boulder Police Department shows Colorado shooting suspect Ahmad Al Aliwi Alissa. Alissa has been identified as the suspect in Monday, March 22, 2021 shooting rampage at a grocery store in Boulder. (Boulder Police Department via AP)

Residents leave bouquets on a police cruiser parked outside the Boulder Police Department after an officer was one of the victims of a mass shooting at a King Soopers grocery store Tuesday, March 23, 2021, in Boulder, Colo. (AP Photo/David Zalubowski)

A mourner leaves a bouquet of flowers along a fence put up around the parking lot where a mass shooting took place in a King Soopers grocery store Tuesday, March 23, 2021, in Boulder, Colo. (AP Photo/David Zalubowski)

BOULDER, Colo. — The suspect accused of opening fire inside a crowded Colorado supermarket was a 21-year-old man who purchased an assault weapon less than a week earlier, authorities said Tuesday, a day after the attack that killed 10 people, including a police officer.