Rapper and Bronx native Cardi B said she will cover the funeral costs of the 17 people, which included eight children, who were killed in the 120-unit Bronx apartment building fire on Jan. 9.

"When I heard about the fire and all of the victims, I knew I needed to do something to help," Cardi B, who is partnering with Mayor Eric Adams and the Mayor’s Fund to Advance NYC, said in a statement.

"I cannot begin to imagine the pain and anguish that the families of the victims are experiencing, but I hope that not having to worry about the costs associated with burying their loved ones will help as they move forward and heal. I send my prayers and condolences to everyone affected by this horrific tragedy."

Adams on Wednesday said, "We are grateful for Cardi B, a real superstar on and off the mic, for granting some critical financial relief to families of the victims."

New York state is allocating $2 million to help the tenants.

The victims ranged from 2 to 50 years old. There were also 32 victims who suffered life-threatening injuries.

The fire was New York's deadliest in more than 30 years.

"I'm extremely proud to be from the Bronx and I have lots of family and friends who live and work there still," Cardi B said in a statement to CNN.

Cardi B, 29, released her debut album "Invasion of Privacy" in 2018. The critically acclaimed album broke the record for longest-charting album by a female rapper on the Billboard 200.