Set out to (do something)

To decide and begin to try to do something, to attempt to do something.

My friend set out to learn Spanish when he went to Mexico.