"Esperar que..." (to hope that...) can be followed by El Pretérito Perfecto Subjuntivo to express the hope that something happened or has happened, as a completed action in the past.
Read and listen to these examples:
Notice that while in English the preterite or the present perfect is used, you cannot use the equivalent tenses in Spanish in the indicative after "espero que...":
I hope that you arrived last night.
Espero que tú llegaste anoche.I hope that she has locked the door.
Espero que ha cerrado la puerta con llave.
See also Modo subjuntivo
For other uses of "esperar que..." see also:
Using the Spanish present perfect subjunctive after esperar que to express a completed action in the future and Using esperar que + present subjunctive in Spanish to express hope
Want to make sure your Spanish sounds confident? We’ll map your knowledge and give you free lessons to focus on your gaps and mistakes. Start your Brainmap today »