Puerto Rico, an impoverished US colony hung in the balance