PHOTO: CBP/Weslaco Police
Now playing
02:33
Boy who died in federal custody on floor for hours, video shows
AUGUSTA, GEORGIA - NOVEMBER 15: Tiger Woods of the United States looks on from the third tee during the final round of the Masters at Augusta National Golf Club on November 15, 2020 in Augusta, Georgia. (Photo by Patrick Smith/Getty Images)
PHOTO: Patrick Smith/Getty Images
AUGUSTA, GEORGIA - NOVEMBER 15: Tiger Woods of the United States looks on from the third tee during the final round of the Masters at Augusta National Golf Club on November 15, 2020 in Augusta, Georgia. (Photo by Patrick Smith/Getty Images)
Now playing
02:43
Tiger Woods' team gives an update on his condition
PHOTO: KCAL/KCBS
Now playing
01:37
Official details speaking with Woods in moments following accident
Trump supporters clash with police and security forces as people try to storm the US Capitol on January 6, 2021 in Washington, DC. Demonstrators breeched security and entered the Capitol as Congress debated the 2020 presidential election Electoral Vote Certification.
PHOTO: Brent Stirton/Getty Images
Trump supporters clash with police and security forces as people try to storm the US Capitol on January 6, 2021 in Washington, DC. Demonstrators breeched security and entered the Capitol as Congress debated the 2020 presidential election Electoral Vote Certification.
Now playing
04:34
This is what we learned from Capitol riot hearing
Angelo Quinto
PHOTO: Law Offices of John Burris
Angelo Quinto
Now playing
02:00
Man dies after police kneel on his neck, family says
PHOTO: AFP/Getty Images
Now playing
04:54
Ocasio-Cortez rips Democrat's doubts about Biden nominee
Then-President Donald Trump addresses supporters during a Make America Great Again rally in Erie, Pennsylvania, October 20, 2020.
PHOTO: SAUL LOEB/AFP/Getty Images
Then-President Donald Trump addresses supporters during a Make America Great Again rally in Erie, Pennsylvania, October 20, 2020.
Now playing
02:44
What Trump's released tax records mean for DA's criminal case
Now playing
06:49
Here's why Ted Cruz flying to Cancun was *so* bad
From left, President Joe Biden, First Lady Jill Biden, Vice President Kamala Harris and her husband Doug Emhoff, bow their heads during a ceremony to honor the 500,000 Americans that died from COVID-19, at the White House, Monday, Feb. 22, 2021, in Washington. (AP Photo/Evan Vucci)
PHOTO: Evan Vucci/AP
From left, President Joe Biden, First Lady Jill Biden, Vice President Kamala Harris and her husband Doug Emhoff, bow their heads during a ceremony to honor the 500,000 Americans that died from COVID-19, at the White House, Monday, Feb. 22, 2021, in Washington. (AP Photo/Evan Vucci)
Now playing
05:45
Biden leads nation in mourning 500,000 US Covid-19 deaths
PHOTO: NASA
Now playing
01:15
Watch the Perseverance rover's first footage of Mars
donald trump juicio politico violencia capitolio presidente eeuu gobierno senado aristegui mexico roberto izurieta republicanos democratas_00002909.png
donald trump juicio politico violencia capitolio presidente eeuu gobierno senado aristegui mexico roberto izurieta republicanos democratas_00002909.png
Now playing
02:48
Supreme Court allows release of Trump tax returns
trump impuestos fiscal nueva york eeuu corte suprema investigacion dusa juan carlos lopez_00021006.png
trump impuestos fiscal nueva york eeuu corte suprema investigacion dusa juan carlos lopez_00021006.png
Now playing
04:06
Trump fires back at Supreme Court ruling in statement
Now playing
02:27
Bash: Cruz looking for Fox News sound bite at Garland hearing
Now playing
04:34
See what has happened to Trump's DC hotel after his loss
Merrick Garland emotional family story obligation vpx_00002927.png
Merrick Garland emotional family story obligation vpx_00002927.png
Now playing
01:16
Merrick Garland was asked why he wants the job. See his emotional response
Medical transporter Adrian Parrilla transports a patient into a COVID-19 unit at Mission Hospital in Mission Viejo, Calif., Friday, Feb. 19, 2021. California
PHOTO: Jae C. Hong/AP
Medical transporter Adrian Parrilla transports a patient into a COVID-19 unit at Mission Hospital in Mission Viejo, Calif., Friday, Feb. 19, 2021. California's virus cases, infection rates, and hospitalizations have dropped precipitously after reaching record highs in early January. (AP Photo/Jae C. Hong)
Now playing
03:47
US passes 500,000 Covid-19 deaths
Hayden A. Smith, 17, is a plane spotter and photographer and took this photo of UAL Flight 328 on Saturday, February 20, as it flew overhead in Aurora, Colorado.
PHOTO: Hayden A. Smith
Hayden A. Smith, 17, is a plane spotter and photographer and took this photo of UAL Flight 328 on Saturday, February 20, as it flew overhead in Aurora, Colorado.
Now playing
02:22
United Airlines pulls Boeing 777s following engine fire
(CNN) —  

A sick Guatemalan boy who died in government custody was lying on the floor for hours before someone found him dead, a video first obtained by ProPublica shows.

The boy, identified by a US Customs and Border Protection official as Carlos Gregorio Hernandez Vasquez, 16, died on May 20 at a Border Patrol station in Weslaco, Texas, days after he crossed into the US and was apprehended by immigration officials, CBP said.

Surveillance video of a holding cell at the Weslaco facility first obtained by ProPublica and published on Thursday show the last moments of the boy’s life. ProPublica analyzed the video and compared it with police and emergency services records to create a timeline. CNN later obtained a copy of the video.

The boy was waiting to be transferred to the custody of the Health and Human Services Department, as is customary for unaccompanied minors, when he was diagnosed with the flu and taken to the Weslaco facility, the CBP official said.

In the video, Carlos first appears walking inside a cell in the Weslaco facility, wearing blue jeans, a dark long-sleeve shirt and a disposable white mask. He lays down on a cement bench as another boy, who was not identified, is sleeping under a Mylar blanket on a bench across from him.

The teen shifts around on the bench and moves out of the camera’s view for some time before he can be seen again as he collapses, face down on the ground.

Carlos stays mostly still on the floor for about 10 minutes, based on ProPublica’s analysis of the footage.

Video first obtained by ProPublica shows a teen who died in government custody at a Border Patrol station in South Texas.
PHOTO: CBP/Weslaco Police
Video first obtained by ProPublica shows a teen who died in government custody at a Border Patrol station in South Texas.

He gets up, walks to the toilet and appears to collapse soon after. He is moving and bending his legs for a few minutes until he stretches them out and stops moving. Only Carlos’ legs, an arm and part of his torso are visible in the video. The rest of his body is blocked by a privacy wall on the toilet area.

The video abruptly ends and restarts about four hours later, ProPublica’s analysis found, and shows Carlos in the same position as his cellmate wakes up, finds him in the toilet area and flags a Border Patrol agent.

The Weslaco Police Department, the agency that provided the video to ProPublica and briefly investigated the boy’s death, said the footage was turned over to their investigators, split in two parts, according to the media outlet.

CBP had previously said in a statement that agents at the Weslaco station found Carlos unresponsive during a welfare check.

But Border Patrol logs obtained by ProPublica indicate that three welfare checks were done on Carlos over the period in which the video suggests the boy laid on the floor. The logs do not indicate how those checks were done or note that anything was amiss.

CNN has not independently obtained the Border Patrol logs.

When asked about the video, a CBP spokesperson said the investigation into Carlos’ death was ongoing.

“While we cannot discuss specific information or details of this investigation, we can tell you that the Department of Homeland Security and this agency are looking into all aspects of this case to ensure all procedures were followed,” the spokesperson said.

CNN reached out to the Hidalgo County coroner’s office but did receive an immediate reply. ProPublica said the autopsy listed the cause of death as flu respiratory infection, complicated by bronchopneumonia, sepsis and an immune system disorder.

Former acting Customs and Border Protection Commissioner John Sanders spoke to CNN about the incident earlier this year.

“It hit me hard, that he was in the cell sleeping,” Sanders told CNN in an exclusive interview, recalling watching video and viewing still pictures of the incident after the boy died.

At least four other children are known to have died after journeying to the US from Guatemala and being apprehended by US authorities this year.

Earlier this year, immigration authorities ordered an increase of medical checks for children in their custody, with a focus on children under 10, amid an uptick of migrants crossing the US-Mexico border.

CNN’s Priscilla Alvarez contributed to this report.