The adviser President Barack Obama said “shaped every single national security policy of my presidency” will return to the law firm that shaped his career.

Thomas Donilon, Obama’s national security adviser from 2010 to 2013 and a veteran of the Clinton and Carter administrations, rejoins O’Melveny & Myers as a partner, vice chairman and a member of its management committee.