Definitions of age of consent the number of years you have to have lived to legally agree to have sex She was under 14, the legal age of consent in China.