This is the 5165th most frequent Spanish word.
habiéndose
"Having" (referring to something already done by oneself).
Habiéndose is used as a gerund form with reflexive pronoun to express an action completed before another past reference action.
Habiéndose marchado temprano, perdieron la última noticia.
Having left early, they missed the last piece of news.
Habiéndose here shows a completed preparation action with reflexive emphasis before a consequent outcome.
Los alumnos, habiéndose preparado bien, aprobaron el examen difícil.
The students, having prepared well, passed the difficult test.
Habiéndose indicates an action of apologizing completed prior to the main action in the narrative.