His election was hailed in some quarters as a breakthrough for gay rights , but condemned in others as a violation of God 's word .