Please improve the grammar in the given paragraph:
Kiyomizu temple was used many times as a background of a lot of Japanese novels, paints and historical dramas.
Kiyomizu temple was used many times as a background for a lot of Japanese novels, paintings, and historical dramas.