The family said the teenager was first denied a heart transplant because of low grades and trouble with the law.

Anthony Stokes has an enlarged heart, and will die if he does not receive a transplant, ABC News reported.

Stokes' story quickly went viral on social media.

His family said doctors at Children's Healthcare of Atlanta at Egleston won't put him on the transplant list because of his history of "noncompliance."

Stokes mother, Melencia Hamilton, said the doctors felt they had "no evidence that he would take his medicine or that he would go to his follow-ups."

However, the hospital had a change of heart Tuesday. The family was told the hospital reviewed the situation, and said Stokes would be placed on the list for a heart transplant and that he would be first in line, due to his weakened heart condition, family spokesman Mark Bell told the Atlanta Journal-Constitution.

Bell said the hospital did not offer a reason as to why they changed their mind.