Fannie Mae has hired CoreLogic Inc.’s former top lawyer Stergios “Terry” Theologides as executive vice president, general counsel and corporate secretary.

Theologides will bring more than two decades of in-house experience to Fannie Mae when he steps into his new role March 28. He replaces Brian Brooks, who parted ways with Fannie Mae last year to take the reins of Coinbase’s legal department as the cryptocurrency company’s chief legal officer.