Breakdown of Previamente, el edificio había sido una fábrica.
ser
to be
un
a, an, some
el edificio
the building
haber
to have (auxiliary)
Elon.io is an online learning platform
We have an entire course teaching Spanish (Spain) grammar and vocabulary.