In the first year of Yan Ming, in early spring, the new emperor had been enthroned for ten days. Young Yan Anzhi did not understand affairs of state, and the three assisting ministers each had their own opinions, with Grand Commandant Pei Taiwei being even more aggressive, causing constant disputes in the court.
Furthermore, due to the severe droughts, Gold Country frequently invaded the border of Great Nan, the court officials formed factions and the disputes continued, with troubles both inside and outside the country.
One month after the new emperor ascended the throne, there were signs of Pei Taiwei rebelling. First a large fire broke in the city, attracting many Imperial Guards to be mobilized, resulting in weak defense in the Imperial City.
There was also action in the palace, a large fire started in the inner palace, causing chaos in the palace.