was working (ongoing past action)
used to work (habitual past)
Il travaillait chez Google avant de monter sa boîte.
He was working at Google before starting his company.