BEIRUT (AP) — Lebanon’s parliament Wednesday passed a controversial general amnesty law, a day after a majority of legislators voted to formally abolish the death penalty.

Lawmakers who backed the bill call it a beginning to correcting past overreach by the judiciary and security agencies and help reduce prison overcrowding, but critics say it is skewed and largely benefits Sunni Islamist prisoners.