The period of Tang power (626–755)
Two of Gaozu’s sons were rivals for the succession: the crown prince Jiancheng and Li Shimin, the general who had played a large part in the wars of unification. Their rivalry, and the factional strife it generated, reached a peak in 625–626, when it appeared that Jiancheng was likely to succeed. In a military coup, Li Shimin murdered Jiancheng and another of his brothers and forced his father to abdicate in his favour. He succeeded to the throne in 626 and is known by his temple name, Taizong.