Photo: Greg Doherty/Getty

MARINA DEL REY, CA - JUNE 05: NBC’S Dr. Bruce Hensel attends The Thalians Presidents Club Anchors Away Brunch at the California Yacht Club on June 5, 2016 in Marina del Rey, California. (Photo by Greg Doherty/Getty Images)

A former NBC4 medical correspondent has pleaded no contest to charges that he asked a 9-year-old girl to send him inappropriate sexual photos.

Dr. Bruce Hensel, 74, entered the plea on Monday forone count of contacting a minorwith the intent to commit a crime,The Los Angeles Timesreported. He was sentenced to two years of probation and has to register as a sex offender.

“I’m terribly sorry for what happened. I’ve done everything I can to understand this isolated thing,” he said in the courtroom, according toThe L.A. Times. Hensel then embraced the child’s father, who told the doctor that he’s forgiven.

The father had told him earlier in the hearing, “Dr. Bruce, you crossed the line and violated the vow of your profession, which is to cause no harm.” His identity is kept private to protect his daughter,The L.A. Timesreported.

Hensel’s attorney did not immediately respond to PEOPLE’s request for comment.

The victim’s mother introduced Hensel and the child. The former doctor and the woman had been talking about paying for a movie in which the 9-year-old would appear, perThe L.A. Times.

Months before his plea, text messages between Hensel and the victim, which were exchanged between March and August 2019, were sent to the state’s medical board. They showed that Hensel asked the child to send him images that he described as “sexy and private,” according to the publication.

Records revealed that he wrote in one text, per the outlet, “I have always been good special friends and you feel safe with me so I will protect you and get you something. They could maybe make you a star if you are willing to take some risks.”

He was taken into custody on suspicion of contact with a minor for purpose of a sexual act, which is a felony, a Los Angeles Police Department public information officer confirmed to PEOPLE at the time.

He was released on bond later that evening and his bail was set at $5,000.

Want to keep up with the latest crime coverage? Sign up forPEOPLE’s free True Crime newsletterfor breaking crime news, ongoing trial coverage and details of intriguing unsolved cases.

Hensel faced a maximum sentence of 18 months in state prison.

He joined NBC4 in 1987 and worked as the chief health, medical and science editor and on-air correspondent for the station.

Hensel has won 11 Emmy Awardsand two Golden Mikes for producing, writing, and hosting, according to his LinkedIn profile.

source: people.com