When Empress Dowager Hu discovered this, she poisoned Emperor Xiaoming to death and made his distant toddler nephew, Yuan Zhao, emperor.
Empress Dowager Hu found out about the situation and killed Emperor Xiaoming. She then made his young nephew, Yuan Zhao, the new emperor.