The age of consent is the age at which a person is considered to be legally competent to consent to sexual acts.