Sex with a girl who is below eighteen years of age (a minor) is considered as rape, even if the girl consents to have sex.(( Description 6, Section 375, Indian Penal Code, 1860.)) For example, if a man has sex with a seventeen year-old girl, it is considered as rape, even if the girl agrees to have sex.