Used to

Formerly did something, had the habit of doing something.

We used to live in a house but now we live in an apartment.