Edited sentence: In 1940, Italy conquered British Somaliland and annexed it into the Italian East Africa.In 1941, the British reconquered British Somaliland.In 1964, a new penal code came into force in the Somali Republic.In 1991, Somaliland declared itself as an independent state.LGBT rights in Africa.Lesbian, gay, bisexual, and transgender (LGBT) persons in the Somaliland face legal challenges not experienced by non-LGBT residents.Prior to independence from the British, the Indian Penal Code of 1860 was applied in British Somaliland.Since same-sex sexual activities was legal in Italy since 1890, it became legal in British Somaliland.Somaliland continues to apply the 1964 penal code in the country.The code states that "Whoever has carnal intercourse with a person of the same sex shall be punished, where the act does not constitute a more serious crime, with imprisonment from three months to three years.Where the act committed is an act of lust different from carnal intercourse, the punishment imposed shall be reduced by one-third