The mother was a teacher.

Literal

Mother [topic-は] teacher was-[formal-であった]

であった is the past of the formal written copula である. Using it instead of だった gives a biographical or narrative register.