Pittsburgh-based Am Law 100 firm Buchanan Ingersoll & Rooney came into Silicon Valley three years ago, and now it’s getting out.

The firm will close its small Redwood Shores, Calif., office on June 30. The firm’s CEO said the office’s lack of profitability made the firm question its future, and the recent loss of a few attorneys sealed its fate.