In exchange, Ukraine had agreed it would not seek NATO membership.