After losing his bid for the Democratic gubernatorial nomination in 2006, Thomas Reilly, the former attorney general of Massachusetts, began weighing offers from private law firms of all sizes.

He had one rule: He would not leave Boston. “I’m a Massachusetts guy,” he says.