the island was a major military post during many wars between spain and other european countries for control of the region in the 16th, 17th and 18th centuries. in 1898, during the spanish-american war, puerto rico was invaded and became a possession of the united states.