it occurred to me
Se me ocurrió una idea brillante.
I had a brilliant idea.
Pasaba por aquí y se me ocurrió traerle el billete de barco.
I was passing by and it occurred to me to bring him the boat ticket.
— Deseando amar (2000)
No se me ocurrió una explicación tan breve.
I couldn't think of such a brief explanation.
Desde que se me ocurrió que te podía perder.
Ever since it occurred to me that I could lose you.
— Una cuestión de tiempo (2013)
That's the one I came up with.
Look what I came up with.
Nunca se me ocurrió dudar de él.
It never occurred to me to doubt him.
Se me ocurrió una maravillosa idea.
I had a wonderful idea.