Zillow will acquire Trulia in a $3.5 billion stock deal, the companies have announced. The deal, approved by both companies’ boards, is expected to close next year.

The real estate brands will continue to operate under their individual names. Trulia CEO Pete Flint will maintain his position and report to Zillow CEO Spencer Rascoff.

Trulia shareholders will receive 0.444 shares of Class A Common Stock of Zillow for every Trulia share they own. Trulia shareholders will own about a third of the combined company. The value of the deal is a 25% premium on Trulia’s Friday closing price of $56.35.

“This is a tremendous opportunity to combine our resources and achieve even more impressive innovation that will benefit consumers and the real estate industry,” Rascoff said in a release.

The companies expressed hope that the merger will provide better opportunities for leveraging ad sales, the primary source of revenue for both companies.

According to a release, the combined revenue of both companies represents less than 4% of the estimated $12 billion real estate professionals spend on marketing.