PHOTO: KDVR
Now playing
01:18
8-year-old boy attacked by mountain lion in backyard
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) —  

An 8-year-old boy was seriously injured in a mountain lion attack in a Colorado backyard, wildlife officials said Thursday

The boy and his brother were playing outside on the trampoline Wednesday evening in Bailey, southwest of Denver, when the 8-year-old heard a friend calling him from the neighbor’s house, the Colorado Parks & Wildlife said in a news release.

The lion attacked the child, biting him on his head as he ran to visit the friend, officials said.

The boy’s brother ran inside and told his father something sounded off.

“The father rushed outside and found the mountain lion on top of his son. The mountain lion let go of the child as the father approached and took off running,” officials said.

The child was taken to the hospital, officials said.

Wildlife officers set a trap for the lion and deployed a team of dogs that searched for two hours but couldn’t initially pick up the animal’s scent to track it.

On Thursday, a landowner near the attack reported his goat was missing and said he saw two mountain lions. Wildlife officers responded and found the two lions fitting the description of the lion that attacked the 8-year-old. Both animals were euthanized, wildlife officials said.

Officials will perform a necropsy on the lions and send them to a forensic lab in Wyoming for a DNA analysis.

The boy’s running likely triggered the lion’s “natural response to a prey animal running,” said Area Wildlife Manager Mark Lamb.

There have been 22 mountain lion attacks on humans in Colorado since 1990, including three fatalities, wildlife officials said. Three attacks have occurred this year including one on Aug. 10, northeast of Kremmling, wildlife officials said.

CNN’s Konstantin Toropin contributed to this report.