had ended
Nicholas había terminado su libro, «Cómo escribir ficción».
Nicholas had finished his book, “How to Write Fiction.”
Ya había terminado todo lo que tenía que hacer aquí.
I had already finished everything I had to do here.
Dieciocho minutos después, la batalla había terminado.
Eighteen minutes later, the battle was over.
La semana anterior, el Viejo Brazo Derecho había terminado de desplomarse.
The week before, the Old Right Arm had finally collapsed.
Nadie le dijo que la guerra había terminado.
Nobody told him that the war was over.
— Mother Night (1996)
Cuando llegué a la escuela, la clase ya había terminado.
When I arrived at school, class had already ended.
Cuando llegué a la escuela, la carrera había terminado.
By the time I got to school, the race was over.
Había terminado mis deberes cuando me llamaste.
I had finished my homework when you called me.
Creía que él ya había terminado el trabajo.
I thought he had already finished the job.