Károly Csemegi [SEP] country of citizenship
Károly Csemegi
Károly Csemegi (1826–1899) was a Hungarian judge who was instrumental in the creation of the first criminal code of Hungary. 
Though born Jewish, he later converted to Christianity.
After serving as a major and commanding troops in the unsuccessful Hungarian Revolution of 1848, he worked as an advocate in the countryside. Following the Austro-Hungarian Compromise of 1867, Csemegi became a high official in the new Hungarian Ministry of Justice, in which capacity he drafted the 1878 Criminal Code as well as the Code of
.
Law regarding same-sex sexual activity.
The first Hungarian Penal Code by Károly Csemegi (1878) punished homosexuality between men ("természet elleni fajtalanság" – "perversion against nature (nature's law)") with prison up to 1 year. Homosexual activity above the age of 20 was decriminalized in 1961, then above the age of 18 in 1978 by the new Penal Code. The age of consent, which is 14, has applied equally to heterosexual and homosexual activity since a Constitutional Court decision of