Poseidon Water has been granted a permit from the local water board for its controversial desalination plant in Huntington Beach, a project that has been in the works for roughly two decades.

Poseidon will still need to get approval from the California Coastal Commission in order to move forward with plans and will still need to finalize a purchase agreement with the Orange County Water District in order to have customers.

At the continued Santa Ana Regional Water Quality Control Board hearing on April 29, the board voted 4-3 to approve a permit for Poseidon’s project after discussing and clarifying language, mitigation, and discharge requirements.