A Georgia mother whose toddler has been waiting for a kidney transplant his whole life was gifted a car on Tuesday -- hours before a kidney donor was found.

>> Read more trending news

Carmellia Burgess brought her son home from Children’s Healthcare of Atlanta on Nov. 8, where he’d been since Oct. 29.

Burgess's son, AJ, battled a potentially deadly infection, contracted pneumonia, had surgery to implant a new port for his dialysis treatments and received blood transfusions before he was released from the hospital, The Atlanta Journal-Constitution previously reported.

MORE: Toddler heads home from hospital to wait for kidney transplant

But his mother didn’t have a car to get AJ to his hemodialysis appointments three times a week, she wrote on Facebook.

That trouble ended Tuesday, when actor Tyler Perry gifted Burgess with a new car.

The family later learned a deceased donor kidney would be given to AJ this week, attorney Mawuli Davis said.