In this May 15, 2019 file photo, Juice WRLD performs in concert during his “Death Race for Love Tour” at The Skyline Stage at The Mann Center for the Performing Arts in Philadelphia. (Photo by Owen Sweeney / Invision / AP, File)

A federal agent who was at a Chicago airport to search a private plane that rapper Juice WRLD and his entourage had arrived in administered the opioid antidote Narcan to the performer, who briefly woke up incoherent but later died, authorities said Monday.

In this May 1, 2019 file photo, Juice WRLD accepts the award for top new artist at the Billboard Music Awards at the MGM Grand Garden Arena in Las Vegas. (Photo by Chris Pizzello / Invision/AP, File)

Rapper Juice WRLD, who launched his career on SoundCloud before becoming a streaming juggernaut and rose to the top of the charts with the Sting-sampled hit “Lucid Dreams,” died early Sunday after a “medical emergency” at Chicago’s Midway International Airport.