How about a guardian spirit of some sort? Maybe the architect or
some stone mason died during the construction and his (or her) spirit
has been worshipped since then. The spirit could act as the guardian
for the band who defends the gate.
What do you think?
Oliver