 Following the creation of Spanish governorates in South America, sodomy became punishable with burning at the stake.Same-sex sexual activity has been legal since 1887, when "Law No.1,920" () enacted Argentina's first federal Penal Code.