Actually, I was wrong - it isn't seventeen. Sixteen is the legal age of consent sexual acts in the District of Columbia and has been since at least 1901 from what I can determine. I can not find evidence of it having changed.
From the DC statutes:
Subchapter I. General Provisions. (Refs & Annos)
§ 22-3001. Definitions.
For the purposes of this chapter:
(10) "Significant relationship" includes:
(A) A parent, sibling, aunt, uncle, or grandparent, whether related by blood, marriage, or adoption;
(B) A legal or de facto guardian or any person, more than 4 years older than the victim, who resides intermittently or permanently in the same dwelling as the victim;
(C) The person or the spouse or paramour of the person who is charged with any duty or responsibility for the health, welfare, or supervision of the victim at the time of the act; and
(D) A teacher, scout master, coach, recreation center leader, or others in similar positions.
§ 22-3020. Aggravating circumstances.
(a) Any person who is found guilty of an offense under this subchapter may receive a penalty up to 1 1/2 times the maximum penalty prescribed for the particular offense, and may receive a sentence of more than 30 years up to, and including life imprisonment without possibility of release for first degree sexual abuse or first degree child sexual abuse, if any of the following aggravating circumstances exists:
(1) The victim was under the age of 12 years at the time of the offense;
(2) The victim was under the age of 18 years at the time of the offense and the actor had a significant relationship to the victim;
(3) The victim sustained serious bodily injury as a result of the offense;
(4) The defendant was aided or abetted by 1 or more accomplices;
(5) The defendant is or has been found guilty of committing sex offenses against 2 or more victims, whether in the same or other proceedings by a court of the District of Columbia, any state, or the United States or its territories; or
(6) The defendant was armed with, or had readily available, a pistol or other firearm (or imitation thereof) or other dangerous or deadly weapon.
(b) It is not necessary that the accomplices have been convicted for an increased punishment (or enhanced penalty) to apply under subsection (a)(4) of this section.
The statutes define "signifigant relationship" as:
Now I am no lawyer, but I believe that I could successfully argue that a US congressman to a congressional page constitutes at least as signifigant a relationship as between a recreation center leader and a child who comes to play some b-ball.
So Gerry Studds did break the law and did get a standing ovation from his fellow congressmen (I saw the video but have been unable to find it on the internet) on the floor of the house.