How was Samoa acquired?

It was acquired by the U.S. because in World War 2, they found, and used Samoa as a place to store weapons, and keep some of their wounded. They also put bunkers around Samoa (I'm samoan and I've seen them) to keep out any of the Japanese that may have came and took it over, but the good news was that Japan never did find Samoa.