The arrest of a sexual predator in Texas a year ago proved to be the downfall yesterday of a King of Prussia software manager.

Douglas R. Bartlett, 45, pleaded guilty in federal court to transporting an underage girl from Wayne to New York City in March to have sex. He also pleaded guilty to possession of child porn.

Bartlett faces a mandatory minimum sentence of 10 years in the clink. U.S. District Judge Gene Pratter set sentencing for March.

Authorities said the Texas predator told the FBI he had witnessed via a live Webcam connection an individual with the screen name of TedBed27 receiving oral sex from a female child.

FBI agents later assumed the screen name of the Texas predator and struck up online chats with TedBed27.

Assistant U.S. Attorney Susan Fields told the court that TedBed27 - who turned out to be Bartlett - quickly steered the chats to a sexual nature and discussed children and the sexual contact he had with them.

Bartlett was arrested in April. During the investigation, one of Bartlett's child victims told authorities that pictures were being taken of her but that Bartlett had deleted the images from his computer, Fields said.

Authorities later found 229 images on Bartlett's computer of children exposing themselves.

The underage girl told authorities she had sexual contact with Bartlett for a year or two.

Prosecutor Fields said in court yesterday that Bartlett accompanied the underage girl on a trip to New York City in March and the two stayed overnight in a hotel.

The girl told FBI agents she and Bartlett had sex in the hotel room, Fields told the court.

Fields told the court that pictures of the girl were found on the computer of a Virginia sexual predator with whom Bartlett conversed regularly.

Bartlett, who works as a project manager for IDS Scheer in Berwyn, a business-management-software company, told the court yesterday that IDS was unaware of either the federal charges or pending state charges.

Bartlett has been charged in Delaware County with rape of a child, involuntary deviate sexual intercourse with a child, corruption of minors, endangering the welfare of children, sexual assault and related offenses.

Bartlett's attorney, Arthur Donato Jr., said yesterday in court that he's trying to negotiate a plea to the state charges.

Bartlett was released on $25,000 bail, on his own recognizance, subject to electronic house monitoring and routine checks of his computer by the U.S. Office of Pre-Trial Services.

Pratter also prohibited Bartlett from having any video equipment and ordered him to undergo a prompt pyschosexual evaluation by the Probation Department, to continue weekly therapy sessions, to attend Alcoholics Anonymous meetings regularly and to not travel outside southeastern Pennsylvania. *