Near the end of his life, Justinian became ever more inclined towards the Monophysite doctrine, especially in the form of Aphthartodocetism, but he died before being able to issue any legislation. The empress Theodora sympathized with the Monophysites and is said to have been a constant source of pro-Monophysite intrigues at the court in Constantinople in the earlier years. In the course of his reign, Justinian, who had a genuine interest in matters of theology, authored a small number of theological treatises.