With Tesla and its ongoing battles with state auto dealer associations and lawmakers to operate factory direct, it has won some and lost some – and in Maryland it can now count a win.

The win has a name – HB 235 – and in passing the state House with a vote of 122 yes to 15 no, Tesla will be allowed after the governor signs it to open as many as four stores.

The law will be effective Oct. 1, 2015, and until now, Tesla has been barred in Maryland from speaking about cars or performing sales activities, but this compromise came with support of the state auto dealer association.

Tesla’s Vice President of Business Development Diarmuid O’Connell issued a statement of gratitude for the state’s powers that be for working with it:

“We would like to specifically thank Delegate Kirill Reznik for authoring and sponsoring the bill, as well as the Maryland Automobile Dealers Association for working with us to support this legislation. This type of legislation can and should serve as an example to other states still blocking free markets, consumer choice, and American innovation,” he said.

This latest legislation gets Tesla opened up in Maryland, but it remains working behind the scenes in other states, namely Utah, Texas, Indiana, Michigan, Arizona and West Virginia.