Al haberse portado tan mal, lo expulsaron del colegio.
the pronoun se came right after haber not after portado nor in front of haber.
This is different from any other rules I knew, like:
Me lo dijo. Me lo ha dicho. Dímelo ! Quiero dárselos.
So which rule applies to this ?
with the structure "Al + perfect infinitive" we always place the pronoun right after the infinitive haber and all together. Also, with a preposition + perfect infinitive, the pronoun takes the same position as before.
1. Al haberse ido, todos nos quedamos desolados.
When/as he left, we were all very sad.
2. Todos nos quedamos desolados por haberse ido.
However when the perfect infinitive is used with a modal verb, there is more flexibility. For example:
1. Deberían haberse quedado en casa.
2. Se deberían haber quedado en casa.
(They should have stayed at home.)
Either right after haber or right in front of the whole structure are fine.
I hope this helped.
Sign in to submit your answer
Don't have an account yet? Join today
Test your Spanish to the CEFR standard