Here's why:
* Preposition: "to" is the preposition in this sentence.
* Object of the preposition: The object of a preposition is the noun or pronoun that follows the preposition and completes its meaning. In this case, "soldiers" follows "to" and tells us who the general spoke to.