Question: What was this temple before it was a temple?
Relevant Wikipedia article: https://en.wikipedia.org/wiki/State_Temple_of_the_Martial_God