Emperor Shōmu
In 756, ex-Emperor Shōmu died, and based on his will was made crown prince. In 757, though, Kōken removed him from the position on the grounds of immorality, and two months later replaced him with Nakamaro's preferred candidate Prince Ōi, the future Emperor Junnin.