For elections in the Republic of Ireland, there is no disenfranchisement based on criminal conviction, and prisoners remain on the electoral register at their pre-imprisonment address. Prior to 2006, the grounds for postal voting did not include imprisonment, and hence those in prison on election day were in practice unable to vote, although those on temporary release could do so. In 2000 the High Court ruled that this breached the Constitution, and the government drafted a bill extending postal voting to prisoners on remand or serving sentences of less than six months. However, in 2001, the Supreme Court overturned the High Court ruling and the bill was withdrawn. Following the 2005 ECHR ruling in the "Hirst" case, the Electoral (Amendment) Act 2006 was passed to allow postal voting by all prisoners.