Rule reminder
Passato remoto in direct speech → trapassato prossimo in reported speech (same as passato prossimo): 'arrivai' → 'era arrivato/a'.
Direct: 'Arrivai tardi.' — Reported: Disse che _____.