Translate the following English sentence to French:
"For this reason, I have tried to reach agreement with the Council, and this was done at the eleventh hour last Wednesday."
J'ai donc tenté d'arriver à un accord avec le Conseil, ce à quoi nous sommes parvenus in extremis mercredi de la semaine passée.