In the same year, Emperor Ling died, and another struggle began between the court eunuchs for control of the imperial family. Court eunuch Jian Shuo planned to kill Regent Marshal He Jin, a relative of the imperial family, and to replace the crown prince Liu Bian with his younger brother Liu Xie, the Prince of Chenliu (in present-day Kaifeng), though his plan was unsuccessful. Liu Bian took the Han throne as Emperor Shao, and He Jin plotted with warlord Yuan Shao to assassinate the Ten Attendants, a clique of twelve eunuchs led by Zhang Rang who controlled much of the imperial court. He Jin also ordered Dong Zhuo, the frontier general in Liang Province, and Ding Yuan, Inspector of Bing Province, to bring troops to the capital to reinforce his position of authority. The eunuchs learned of He Jin's plot, and had him assassinated before Dong Zhuo reached the capital Luoyang. When Yuan Shao's troops reached Luoyang, they stormed the palace complex, killing the Ten Attendants and 2,000 of the eunuchs' supporters. Though this move effectively ended the century-long feud between the eunuchs and the imperial family, this event prompted the invitation of Dong Zhuo to the outskirts of Luoyang from the northwest boundary of China.