Yahoo! Inc. reported fourth-quarter revenue that topped analysts’ estimates and increased annual sales for the first time since 2008 as the largest U.S. Web portal benefited from buoyant demand for online search.

Fourth-quarter earnings, excluding some items, were 32 cents a share, Yahoo said in a statement. Sales, excluding revenue passed to partner sites, rose 4 percent $1.22 billion. Analysts on average had projected profit of 28 cents on revenue of $1.21 billion, according to data compiled by Bloomberg.