The age of consent is the age at or above which a person is considered to have the legal capacity to consent to sexual activity. Both partners must be of legal age to give consent, although exceptions to the age of consent law exist in some jurisdictions when the minor and their partner are within a certain number of years in age or when a minor is married to his/her partner. Persons below the age of consent may not, by law, give consent, and sexual relations involving such persons may be punished by criminal sanctions similar to those for rape or sexual assault. Non-violent sexual contact with persons under the age of consent may be punished with varying degrees of severity, ranging from a misdemeanor with a simple fine, to a felony with a punishment equivalent to rape.
Different ages may apply if one partner is in a position of power or authority over the other, such as a teacher, manager, coach, parent or stepparent. For example, in Indiana the age of consent is 16 but it is illegal for a person over 18 to have sex with anyone under 18 if they work at their school, are their parent or a stepparent, or are a person recruiting them to join the military.
Historically, the age of consent applied to male-female relationships; same-sex relationships were often illegal regardless of the ages of participants. Modern laws vary, and there may be multiple ages that apply in any jurisdiction. For instance, different ages may apply if the relationship is between partners of the same sex, or if the sexual contact is not strictly vaginal intercourse.