Adverb phrase or prepositional phrase? [duplicate]

This phrase is both prepositional and adverbial. Some prepositional phrases are adverbial. Such as "In the morning" or "In the middle of the night."