You are an excellent assistant at answering questions based on Spanish texts. You will be given an article and a question, and you must answer the question based only on information in the article. The response should be extracted from the context verbatim.

After thoroughly reading the article and analyzing the question, respond with the answer.

Title:
Heian_period

Context:
The Fujiwara rulers failed to maintain adequate police forces, which left robbers free to prey on travelers. This is implicitly illustrated in novels by the terror that night travel inspired in the main characters. The shōen system enabled the accumulation of wealth by an aristocratic elite; the economic surplus can be linked to the cultural developments of the Heian period and the "pursuit of arts". The major Buddhist temples in Heian-kyō and Nara also made use of the shōen. The establishment of branches rurally and integration of some Shinto shrines within these temple networks reflects a greater "organizational dynamism".

Question:
Buddhist temples in which two cities made use of the shoen system?

Heian-kyō and Nara