A Temple Hills man who is HIV-positive and who was convicted of sexually assaulting a teenage boy and a teenage girl after developing friendships with them was sentenced yesterday to 30 years in prison.

Prince George's County Circuit Court Judge Maureen M. Lamasney imposed the maximum sentence on Anthony E. Young, 39, who was convicted in separate trials of second-degree sexual offense in September and third-degree sexual offense in October.

Young was convicted of having sex with a 13-year-old boy he had met through an Internet chat room. He also was convicted of having sex over a period of three years with a girl, starting when she was 14. The boy has tested positive for HIV. The girl so far has tested negative.

Lamasney said that Young's having sex with the two teenagers, knowing he was HIV-positive, was "horrific beyond words. You cared about nothing but having sex with those children. You were unconcerned about the consequences for them."

The judge sentenced Young to 20 years for the second-degree sexual offense conviction and 10 years for the third-degree sexual offense conviction, and he ordered that the sentences be served consecutively.

Before he was sentenced, Young, dressed in an orange jail jumpsuit, said, "As I stated before when I was on trial, I'm innocent of these charges."

In 1995, Young was acquitted of fondling a 13-year-old boy, according to court records. In 1996, he was cleared of sexually assaulting three teenage boys. Two of the boys recanted, and a jury acquitted Young of assaulting the third.

Later that year, Young pleaded guilty to second-degree sex offense involving a 13-year-old boy and was sentenced to 20 years in prison, with all but two days suspended. Young was put on five years' probation and ordered to stay away from minors.

Yesterday, before the hearing, Audrey E. Scott, the Republican nominee for county executive, held a news conference to reiterate her accusation that Prince George's State's Attorney Jack B. Johnson has failed to fully prosecute rape cases. Scott said Johnson, her Democratic opponent, often accepts pleas to lesser charges so he can say he won a case.

After Young was sentenced, Johnson dismissed Scott's accusation as "Willie Horton-style fear tactics. Today's sentence is a good example of the kind of work my office has been doing for eight years."