During an imperial feast, Emperor Wu ordered that horses be brought to him for him to examine. Midi, and a large number of fellow stable attendants, brought the horses, and as a number of Emperor Wu's beautiful
concubines were in attendance, the attendants were struck by their beauty and were looking at them, but Midi did not dare to. Emperor Wu saw Midi and was impressed by his propriety, tall stature, and how healthy and strong the horses under Midi's care were. That same day, he awarded Midi robes and made him the director of the imperial stables, and thereafter became increasingly close to Midi. According to the
Hanshu, the reaction of the court was not without some resentment: In 88 BC, the imperial official Ma Heluo was anxious over the fact that the clan of his friend Jiang Chong had been slaughtered by Emperor Wu. Jiang had falsely accused Emperor Wu's
crown prince Liu Ju of treason in 91 BC, causing Liu Ju to rise in rebellion in fear, killing Jiang. Liu Ju was killed, but in the aftermath, Emperor Wu, discovering that Jiang's accusations were false, had Jiang's clan killed. He thus conspired with his brothers to assassinate Emperor Wu. The assassination attempt was thwarted by Jin, as when he saw Ma about to enter Emperor Wu's bedchambers with a knife, he fought and wrestled Ma down until other imperial guards could arrive. In 87 BC, Emperor Wu was seriously ill, and made his youngest son
Liu Fuling crown prince. He summoned his close associates to his bedchambers to designate one of them, Huo Qubing's younger brother
Huo Guang, as
regent. Huo initially declined, arguing that Jin was more capable, but Jin pointed out that he was ethnically Xiongnu and that the other officials and the Xiongnu might think of him lightly. Emperor Wu thus designated Huo as the primary regent, but also designated Jin and
Shangguan Jie secondary regents. He soon died, and Liu Fuling took the throne as Emperor Zhao. (In his will, Emperor Wu, citing the suppression of Ma's plot, created Jin, as well as Huo and Shangguan, marquesses, but Jin, citing Emperor Zhao's young age, declined.) == During Emperor Zhao's reign ==