He served as the deputy director and later acting director of the Office of Federal Housing Enterprise Oversight, the former regulator of Fannie Mae and Freddie Mac.