J'avais déjà fini mes devoirs quand il est arrivé.
English: I had already finished my homework when he arrived.
The 'plus-que-parfait' is a French past tense used to talk about an action that happened before another past action.
Use the plus-que-parfait to describe something that had already happened before another event in the past. It helps show the order of past events.
J'avais déjà fini mes devoirs quand il est arrivé.
English: I had already finished my homework when he arrived.
Elle était partie avant que je sois arrivé.
English: She had left before I arrived.
Nous avions vu ce film avant.
English: We had seen this movie before.
Ils avaient oublié leurs clés.
English: They had forgotten their keys.