Law firm Gray Cary Ware & Freidenrich has emerged into a major powerhouse, from being a small valley player just two months ago.

In late October, it teamed up with Baltimore-based Piper Rudnick, giving it more than 1,350 lawyers (up from 380) and a significant presence in every major technology and venture capital center in the country. And yesterday, an internal vote approved a merger with London-based DLA. It’ll now be called DLA Piper Rudnick Gray Cary.

The giant boasts more than 3,100 lawyers in 40 cities, and rank among the five largest firms in the world. The vote was expected. We first wrote about the possible merger here.

J. Terence O’Malley, chairman and chief executive officer of Gray Cary, said the firm has already started working with DLA. “So far, we have ten engagements as co-counsel with DLA with existing Gray Cary clients around the world,” he said.

UPDATE: Full disclosure, just remembered the Mercury News is a client of Gray Cary.