in the past / formerly
In the past there were no mobile phones.
In the past people wrote letters to communicate.
—What was this building like? —Formerly it was a factory.