After Puerto Rico was ceded to the United States in 1898 as a result of the Spanish–American War, women once again played an integral role in Puerto Rican society by contributing to the establishment of the state university of Puerto Rico, women's suffrage, women's rights, civil rights, and to the military of the United States.