Under the law, Chopra was to serve a five-year term, which meant he could have stayed on as the CFPB director. But he had publicly stated that he would leave his post if the new president asked.