In 2002 the Indonesian government gave the Aceh Providence (the northernmost and westernmost province of Indonesia) the right for Muslim residence to introduce Sharia Law. As a result 2017, two gay men were sentenced to be caned in public in the province, and punishments up to 100 lashes or 100 months in prison are also permitted for punishment of consensual same-sex acts, while the city of Palembang introduced jailtime and fines for such acts until the laws were later disbanded.