Identify whether the infinitvie form is used as a noun, adjective, adverb.

On thursday, The inspector arrived to check the leaks.
a) adverb
b) noun
c) adjective