She ____ well at school but that changed when she became friends with a different group of girls.
Show answer
Correct answer D
She had been doing well at school but that changed when she became friends with a different group of girls. The sentence implies a continuous action that was ongoing in the past before it was interrupted or changed. " Had been doing " indicates this ongoing action.