以前, 已前, いぜん
Noun, used as a suffix
1. before, prior to, ago
Adverb
2. the past, before, previously, former times
以前はこの丘の上に城があった。
は
Particle, pronounced わ in modern Japanese
1. indicates sentence topic
2. indicates contrast with another option (stated or unstated)
3. adds emphasis