Jayavarman VII constructed Rajavihara in honour of his family. The temple's main image, representing Prajnaparamita, the personification of wisdom, was modelled on the king's mother. The northern and southern satellite temples in the third enclosure were dedicated to the king's guru, Jayamangalartha, and his elder brother respectively. As such, Ta Prohm formed a complementary pair with the temple monastery of Preah Khan, dedicated in 1191 A.D., the main image of which represented the Bodhisattva of compassion Lokesvara and was modelled on the king's father.