Updated

An ultra-Orthodox Jewish lawmaker from Israel's Shas party has resigned from parliament after he was criticized for participating in a gay wedding.

Yigal Guetta announced his resignation Wednesday. In a recent radio interview, the 51-year-old lawmaker disclosed that he had a gay nephew who invited him to his wedding. Guetta said he attended out of respect for his relative and despite his own reservations.

The disclosure caused outrage in the ultra-Orthodox community, where homosexuality is taboo, and led to calls from rabbis for the lawmaker to step down.

Shas chairman Arieh Deri said he respected Guetta's decision to resign.

Israel accepts gays serving openly in its military and Tel Aviv is a popular gay-friendly destination. But among the country's conservative ultra-Orthodox community, homosexuality is considered a sin and publicly shunned.