(CNN) -- Logan Stevenson's role as best man at his parents' wedding Saturday came just in time.
Logan, a 2-year-old terminally ill Pennsylvania boy whose parents moved up their ceremony so he could witness it, died Monday night at his home in Jeanette with family at his side, Westmoreland County Deputy Coroner John Ackerman said Tuesday.
The child died of complications from the genetic disorder Fanconi anemia, Ackerman said.
His parents, Christine Swidorsky and Sean Stevenson, had planned to marry in July 2014, but they moved it to Saturday after being told that Logan -- suffering from leukemia brought on by Fanconi anemia -- had just weeks to live.
On Saturday, Logan, dressed in a tan suit and an orange shirt matching his mom's bouquet, looked on as his parents exchanged vows at a back yard wedding. Swidorsky carried Logan down the aisle, and his grandmother cradled him in her arms, his favorite brown teddy bear by his side.