But eight months after Madrid had authorized home rule for Puerto Rico , American troops arrived to take it away .
After Madrid withdrew , the island was able to remain independent for the next fifty years .