What is the infinitive phrase in the sentence?

All Douglass wanted was to learn to read and write.

to learn to read and write