I asked him/her
Le pregunté dónde podría estacionar mi coche.
I asked him where I could park my car.
I asked him.
Le pregunté quién era el hombre que llevaba sombrero blanco.
I asked him who the man wearing a white hat was.
Por eso le pregunté quién era esa persona, bastardo.
That's why I asked him who that person was, you bastard.
— El imperio de las sombras (2016)
I didn't ask him.
Le pregunté cuál era su nombre.
I asked her what her name was.
Le pregunté por qué estaba tan triste.
I asked him why he was so sad.