US delegates met their Russian and Ukrainian counterparts over the past few days to reach the terms of this deal.