PHOTO: KCRA
Now playing
00:54
Deputy chief: No words to convey depth of sadness we feel
WASHINGTON, DC - MARCH 05: Sen. John Cornyn (R) (R-TX) talks with Sen. Joe Manchin (D-WV) while walking to the U.S. Senate chamber for a vote March 05, 2021 in Washington, DC. The Senate continues to debate the latest COVID-19 relief bill.  (Photo by Win McNamee/Getty Images)
PHOTO: Win McNamee/Getty Images
WASHINGTON, DC - MARCH 05: Sen. John Cornyn (R) (R-TX) talks with Sen. Joe Manchin (D-WV) while walking to the U.S. Senate chamber for a vote March 05, 2021 in Washington, DC. The Senate continues to debate the latest COVID-19 relief bill. (Photo by Win McNamee/Getty Images)
Now playing
02:54
Axelrod breaks down Manchin's surprising move
sinema
PHOTO: CNN
sinema
Now playing
01:50
Senator's move has many on the internet outraged
PHOTO: FBI
Now playing
02:58
Trump State Department official charged in Capitol riot
John King Magic Wall 0305
PHOTO: CNN
John King Magic Wall 0305
Now playing
02:17
President Biden sending a team to the US-Mexico border
PHOTO: CNN
Now playing
02:53
Here's how Canadian schools have stayed open
This image was taken during the first drive of NASA's Perseverance rover on Mars on March 4, 2021. The team has spent the weeks since landing checking out the rover to prepare for surface operations.
PHOTO: JPL-Caltech/NASA
This image was taken during the first drive of NASA's Perseverance rover on Mars on March 4, 2021. The team has spent the weeks since landing checking out the rover to prepare for surface operations.
Now playing
02:17
NASA releases stunning new images from Mars
Rep john garamendi 0305
PHOTO: CNN
Rep john garamendi 0305
Now playing
02:33
Rep. Garamendi: Any lawmaker involved in Capitol riots ought to be thrown out of Congress
A view of Capitol Hill during heightened security concerns over possible protests or violence tomorrow March 3, 2021, in Washington, DC. - Washington's security posture has been bolstered after threats of a possible March 4, 2021, "breach" of the US Capitol, with the House of Representatives changing its voting plans to avoid gathering members on a day of potential unrest. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
PHOTO: Brendan Smialowski/AFP/Getty Images
A view of Capitol Hill during heightened security concerns over possible protests or violence tomorrow March 3, 2021, in Washington, DC. - Washington's security posture has been bolstered after threats of a possible March 4, 2021, "breach" of the US Capitol, with the House of Representatives changing its voting plans to avoid gathering members on a day of potential unrest. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
Now playing
03:18
Rep. Sarbanes: Failure to pass HR 1 'would split our democracy in two'
Senior Advisor to the President Jared Kushner  attends a press conference on September 4, 2020, in the Brady Briefing Room of the White House in Washington, DC. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
PHOTO: BRENDAN SMIALOWSKI/AFP/AFP via Getty Images
Senior Advisor to the President Jared Kushner attends a press conference on September 4, 2020, in the Brady Briefing Room of the White House in Washington, DC. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
Now playing
02:50
Jared Kushner disappears from Trump's inner circle
PHOTO: CBS Evening News with Norah O'Donnell
Now playing
02:14
Governor Cuomo accuser Charlotte Bennett speaks out
In this Dec. 1, 2020 file photo, Chairman of the Federal Reserve Jerome Powell appears before the Senate Banking Committee on Capitol Hill in Washington.  Powell told Congress on Wednesday, Feb. 24, 2021,  that the central bank will not begin raising interest rates until the Fed believes it has reached its goals on maximum employment  and warned that many people in the hardest hit industries will likely need to find different jobs.  (AP Photo/Susan Walsh, Pool, File)
PHOTO: Susan Walsh/AP
In this Dec. 1, 2020 file photo, Chairman of the Federal Reserve Jerome Powell appears before the Senate Banking Committee on Capitol Hill in Washington. Powell told Congress on Wednesday, Feb. 24, 2021, that the central bank will not begin raising interest rates until the Fed believes it has reached its goals on maximum employment and warned that many people in the hardest hit industries will likely need to find different jobs. (AP Photo/Susan Walsh, Pool, File)
Now playing
02:18
Jerome Powell: US economy 'some time' away from full recovery
A customer wears a face mask while shopping for flowers displayed for sale from a wholesale merchant ahead of the Valentine's Day holiday at the Southern California Flower Market on February 12, 2021 in Los Angeles, California. - While some florists note an increased demand for socially distant gifts, the Covid-19 pandemic has impacted global supply chains and shut down most large events including weddings where flowers are popular. The Valentine's Day and Mother's Day holidays are historically the two busiest days of the year for floral businesses. (Photo by Patrick T. FALLON / AFP) (Photo by PATRICK T. FALLON/AFP via Getty Images)
PHOTO: Patrick T. Fallon/AFP
A customer wears a face mask while shopping for flowers displayed for sale from a wholesale merchant ahead of the Valentine's Day holiday at the Southern California Flower Market on February 12, 2021 in Los Angeles, California. - While some florists note an increased demand for socially distant gifts, the Covid-19 pandemic has impacted global supply chains and shut down most large events including weddings where flowers are popular. The Valentine's Day and Mother's Day holidays are historically the two busiest days of the year for floral businesses. (Photo by Patrick T. FALLON / AFP) (Photo by PATRICK T. FALLON/AFP via Getty Images)
Now playing
02:39
States rolling back Covid-19 safety measures as cases continue to rise
PHOTO: CBS' 60 Minutes+/Getty Images
Now playing
01:45
'QAnon Shaman' says he has one regret about January 6
psaki
PHOTO: CNN
psaki
Now playing
00:56
Psaki fires back at Trump testing czar over vaccine claims
Now playing
02:30
Alabama governor explains why she's ending mask mandate
PHOTO: CNN
Now playing
01:35
See what security looks like outside US Capitol
(CNN) —  

For hours, the barrage of gunfire just wouldn’t stop.

Sacramento police Officer Tara O’Sullivan lay on the ground bleeding as gunshots echoed and her colleagues tried to get to her. The suspect fired incessantly, preventing officers from reaching her for at least 45 minutes, authorities said.

O’Sullivan, 26, and her fellow officers had gone to a home in Sacramento after a disturbance call Wednesday and were helping a woman gather her belongings when a man opened fire, Police Chief Daniel Hahn said.

Armed with what appeared to be a high-powered rifle, police said, the suspect blasted rounds every time he saw movement – at least 30 times over the next four hours. To fend him off, officers fired back more than 100 rounds, Hahn said.

Police vehicles, ballistic vests and ballistic shields were no match for the hail of bullets, so police requested an armored vehicle to rescue O’Sullivan as she lay in the backyard with fatal gunshot wounds.

By the time they got to her, it was too late. The tense standoff and dangerous rescue ended with a suspect in custody and an officer down.

O’Sullivan had recently graduated from the police academy and was scheduled to be on her own in a few weeks.

“She was helping a woman get away from an environment she didn’t want to be in and helping her get her belongings,” Hahn told reporters Friday. “She paid the ultimate sacrifice to do that.”

Body camera footage shows police approach the garage before the suspect fired.
PHOTO: KVOR
Body camera footage shows police approach the garage before the suspect fired.

Police called for backup after finding weapons

The incident started with a disturbance call at 11:43 a.m. local time and dragged on for hours.

When officers arrived at the home, they found the front door barricaded, Sacramento police Sgt. Vance Chandler said. O’Sullivan and her training officer learned the man also had a connection to the house next door, so they went there to try to contact him and get the woman’s possessions. He wasn’t there, Chandler said, but they found two firearms.

The two officers called for backup, and three additional officers responded.

The woman told the officers she also had belongings in the detached garage at the back of the yard. Not knowing where the suspect was and if he was armed, the five officers approached the garage together.

Body camera footage released Friday shows the lead officer entering the doorway of the garage.

“Police Department. If you’re in here let me know,” the officer called out. “You’re not in trouble, dude.”

Shots rang out and the standoff dragged on. Officers finally went to the house with the woman at 5:41 p.m.

Officers found two assault rifles, a handgun and a shot gun in the main home as well as two weapons in the adjacent house.
PHOTO: KVOR
Officers found two assault rifles, a handgun and a shot gun in the main home as well as two weapons in the adjacent house.

The suspect allegedly had weapons all over the house

What followed was a more than four-hour standoff.

As the officers approached the garage in the back, the suspect remained in the main house, where police later found four weapons: two assault rifles, a handgun and a shotgun, Chandler said. The weapons were placed strategically throughout the house, he added, and police later found casings throughout the home.

The suspect also had multiple cameras around the house, and likely used them to watch police movements, he said.

Hahn described it as an ambush.

“It is clear by the suspect’s actions that he was intent on murdering additional officers and was taking action to do just that, repeatedly shooting at officers throughout much of this incident,” he said.

The rescue: Officers carry her through gunfire

As the bullets flew, O’Sullivan remained in the yard, still in the line of fire.

When the armored vehicle arrived 14 minutes after it was requested, officers at the scene had to figure out how to maneuver the vehicle through a pole, chain link fence and a wood fence to get to her, police said.

Once they got close to O’Sullivan, an officer jumped out and fired at the suspect while the others ran out to pull her inside the vehicle, Chandler said. While they backed out of the scene, the armored car “became disabled,” Chandler said. The officers carried her to the patrol car and drove her to the hospital.

After hours of negotiations, the suspect surrendered.

CNN’s Eliott C. McLaughlin and Joe Sutton contributed to this report.