Complex sentence: It changed location several times, moving to Yushima Tenman-gū because of the Edo Castle expansion in 1591, and finally in 1657 the Great fire of Meireki burned down most of the temple and it was and moved to the current area in Matsugaya.
Split into simpler sentences: It changed location several times, moving to Yushima Tenman-gū because of the Edo Castle expansion in 1591. Finally in 1657 the Great fire of Meireki burned down most of the temple and it was moved to the current area in Matsugaya.