The imparfait (imperfect) describes past habits repeated actions and ongoing background states. It is not for completed one-time events.
Imparfait = habits states and background in the past.
Quand j'étais jeune j'habitais à Paris = When I was young I lived in Paris