After his death , his generals and ministers were split into two groups , each supporting one of his sons to take take over . Upon his death , his generals and ministers were divided into two factions , each supporting one of his sons as heir .