Original sentence: It is a term which rarely actually appears in legal statutes,.The age of consent is the minimum age of a person with whom another person is permitted to engage in certain sexual activities, though it sometimes is defined as the age at which a person is considered to be legally competent to consent to sexual acts
Edited sentence: The age of consent, a term which rarely actually appears in legal statutes, is the minimum age of a person with whom another person is permitted to engage in certain sexual activities, though it sometimes is defined as the age at which a person is considered to be legally competent to consent to sexual acts