How did the peace settlement between the U.S. and Spain affect the Philippines?

AThey stayed under 28 control.
CSpain gave the U.S. control of the region.
BThey finally won their independence.
DSpain and the U.S. split control of the islands.