In the following sentence, “to leave” is an infinitive. Which part of speech is “to leave” being used as in this sentence? "Barry was the first person to leave."

noun

verb

adjective

adverb