CAIRO — Sudan’s transitional government announced on Friday that it had overturned a moral policing law that criminalized revealing clothing worn by women and drinking alcohol. It also moved to dissolve the former governing party of Omar al-Bashir — fulfilling two major demands by pro-democracy protesters.

The country’s sovereign council and cabinet announced both decisions after a 14-hour meeting that ended shortly after midnight on Thursday.

Mr. al-Bashir was overthrown as president in April, after wielding authoritarian power for three decades. He is currently imprisoned and under trial on charges of corruption and money laundering. A verdict is scheduled to be announced on Dec. 14.

Mr. al-Bashir’s Islamist government passed the Shariah-inspired Public Order Act in 1992, which criminalized a wide range of individual behavior, including revealing clothing and drinking alcohol. The government first enforced it in the capital, Khartoum, then applied it nationwide four years later.