-
Period: to
She had been working as a teacher for 20 years.
This is another past event that goes FURTHER BACK in the past. Please notice the word: for, which implies duration (from a past action to another past action). -
When I met her
This is a past event. -
Now