The petition comes hours after appointment, setting center-stage for what could be a long legal battle.