Mozilla Corp’s Firefox Internet browser has decided to go back to their former search engine clients with Google now becoming the browser’s primary search engine. This move has shocked the tech world with Yahoo surprised by this move. Firefox surprised Verizon Communication Inc.’s Yahoo as the internet browser canceled their previous deal.

Google confirmed that the two companies are now partnering with each other again, though the details of the deal such as the revenue-sharing terms weren’t revealed by either company. Google has been on a quest to be the primary search engine for most apps and browsers with Apple’s iPhone also on their radar. This has served to be a cause for concern for their competitors such as Yahoo.

The deal will see Google become the default search engine for Mozilla’s desktop and mobile platforms in countries such as the United States, Canada, Hong Kong and Taiwan. This decision was announced by Mozilla’s chief business and legal officer, Denelle Dixon earlier on Wednesday.

While making the announcement, Dixon stated that “the decision was based on a number of factors including doing what’s best for our brand, our effort to provide quality web search and the broader content experience for our users. We believe there are opportunities to work with Oath and Verizon outside of search.”

Mozilla’s previous deal for their browser’s default search engine in the United States, Hong Kong, and Taiwan had been with Yahoo, though the company didn’t have an official partner in Canada. While commenting on the latest development, Verizon stated that the decision taken by Mozilla to terminate their contract with Yahoo had come as a surprise to them.

Charles Stewart, a spokesman for Verizon’s Oath unit, which is also in charge of Yahoo stated that “We are surprised that Mozilla has decided to take another path, and we are in discussions with them regarding the terms of our agreement.”

The change of their default browser was announced after the company unveiled their latest Firefox Quantum, a faster, new version of the browser, with the company stating that the browser is 30% lighter than Google Chrome and utilizes less computer memory.

Prior to 2014, Google had been the primary search engine for Firefox worldwide, though they lost some of that control as Yahoo controlled some regions with Russia’s Yandex and China’s Baidu Inc. also taking up some part.