hortly before leaving office, President Barack Obama also ordered sanctions on Russian spy agencies, closed two Russian compounds in the United States and expelled 35 diplomats that he said were really spies.