By 1821, what three countries shared territory in what is today the western United States of America?

Those territories are American Samoa, Guam, Northern Mariana Islands, Puerto Rico, and the United States Virgin Islands.