The soldiers passed by. Here the word "By" is a/an ____?

The soldiers passed by. Here the word "By" is a/an ____?

Explanation

Here the word by is an Adverb because by is given in the end.