Gender plays an important role in Borobodur. The main temple, which was constructed in the 8th century, is dedicated to the Buddhist deity Avalokiteshvara, who is commonly depicted as a female figure in East Asian art. Many of the reliefs carved into the walls and steps of the temple feature women prominently. These images often depict female courtiers, dancers and musicians engaged in activities such as playing music or participating in festivals. In some cases they are shown with male counterparts performing similar activities together. This suggests that gender roles were seen as complementary rather than hierarchically organized at this time period. There are numerous depictions of women involved in spiritual practices such as meditation and prayer on Borobodur’s walls and stairs, indicating that religious life was not restricted to men during this period either.