I thanked him/her
Alicia preguntó si me encontraba bien y yo le di las gracias.
Alicia asked if I was okay and I thanked her.
— Hable con ella (2002)
Le di las gracias a Mary por su ayuda.
I thanked Mary for her help.
Solté una risita, le di las gracias y cogí una carretilla de alquiler.
I chuckled, thanked him, and got a rental wheelbarrow.
I thanked him.