Hungarian lawmakers scrapped an unpopular Sunday shopping ban implemented by Prime Minister Viktor Orban’s administration last year as the government moved to preempt an opposition referendum to avoid a ballot-box defeat.

Lawmakers voted 163 for and two against with 11 abstentions to lift the ban that barred all but a few shops from opening on Sundays, according to a tally posted on parliament’s website on Tuesday.

The Sunday shopping ban came to the fore last week after Hungary’s supreme court approved an opposition party request to hold a referendum on the ban, which took effect in March of last year. More than two-thirds oppose the ban, an Ipsos poll published on Dec. 4 showed.

Before it's here, it's on the Bloomberg Terminal. LEARN MORE