Pope planned to launch a surprise attack on the Spaniards.

In which way is the infinitive acting in the sentence?


as an adjective describing Pope

as a prepositional phrase

as a direct object

as the subject of the sentence