 In 2013, an Emirati man was on trial for being accused of a "gay handshake".Article 80 of the Abu Dhabi Penal Code makes sodomy punishable with imprisonment of up to 14 years, while article 177 of the Penal Code of Dubai imposes imprisonment of up to 10 years on consensual sodomy.Amputation is a legal punishment in the UAE due to the Sharia courts.