Pavel Zacha won’t be going to the KHL after all.

After it was reported Zacha agreed to terms on a one-year deal with a Russian team, the Devils and the restricted free agent were able to settle their differences, agreeing to a three-year, $6.75 million contract that carries a $2.25 million AAV.

Zacha was the Devils’ lone unsigned restricted free agent remaining this offseason, and since he did not have arbitration rights, negotiations continued into September, like many other RFAs around the NHL.

With training camp just days away, Zacha’s camp agreed to terms with Avangard in the KHL, putting some pressure on the Devils to get a deal done before Zacha actually signed in Russia. Once a KHL deal is signed, it does not include an NHL out clause, so Zacha would have needed to play the entire season in Russia.