How did the encomienda system benefit Spain?

AForced american indians to work on farms and mines
BSpread christianity and spanish culture among native people.
CTrained american indians to ride horses and use spanish weapons
DProvided protective outpost to help defend spanish holding.