After his defeat, he was sentenced to 15 months in prison for the city hall's graft case in January 2007. Although the Supreme Court upheld the decision in July 2008, further prosecution of his cases was postponed in 2010 due to his deteriorating health. He died on 3 April 2018, at around 19:00 local time, due to stroke. He was laid in state at the Surakarta City Hall prior to him being buried in Banjarsari's Bonoloyo funeral.