How Obama's legacy got a big boost