There used to be an old temple here.
Mukashi wa koko ni tera ga arimashita.
olden days; former
topic marker particle; indicates contrast with another option (stated or unstated); adds emphasis
here (place physically close to the speaker, place pointed by the speaker while explaining); this place; these last (followed by a duration noun and a past sentence: time period before the present time of the speaker); these next ... (followed by a duration noun and a non past sentence: time period after the present time of the speaker); the next ...
at (place, time); in; on; during; to (direction, state); toward; into; for (purpose); because of (reason); for; with; by; from; as (i.e. in the role of); per; in; for; a (e.g. "once a month"); and; in addition to; if; although
indicates sentence subject (occasionally object); indicates possessive (esp. in literary expressions); but; however; still; and
to be (usu. of inanimate objects); to exist; to live; to have; to be located; to be equipped with; to happen; to come about