A Kshama Sawant-driven cap on move-in fees that can be charged to renters in Seattle has been upheld by a King County Superior Court judge.

The Seattle City Council approved legislation capping fees in fall 2016 but the new law has been tied up in court by a lawsuit brought be the pro-landlord Rental Housing Association of Washington group.

Under the measure from the District 3 representative, landlords can only charge tenants the first full month’s rent upon move-in and need to allow tenants to pay the security deposit, non-refundable move-in fees, and last month’s rent in installments.

The legislation was driven by research conducted by the Washington Community Action Network, an advocacy organization working on housing justice, conducted a survey study on Seattle’s housing crisis. Researchers found almost 90% of respondents said that the biggest barrier to moving into more affordable housing was the prohibitively expensive up-front fees a landlord can charge a new tenant.

It’s not clear what’s next for the cap law. The landlord advocacy group hasn’t said yet if it plans to appeal the ruling.