The Texas Rangers have arrested a juvenile jail counselor accused of having a sexual relationship with a 16-year-old Hidalgo County boy.

After a six-month investigation, the Texas Rangers arrested 29-year-old Selena Marie Baxter, who worked at Lake Granbury Youth Services — a juvenile jail southwest of Fort Worth.

The Texas Department of State Health Services lists Baxter as a licensed professional counselor intern. Baxter worked for a company called Rite of Passage, which provided services at the juvenile jail, according to the criminal complaint against her.

Hidalgo County sent the 16-year-old boy to the juvenile jail in October 2014, according to the criminal complaint. He met Baxter, who provided counseling to juvenile offenders.

The boy returned to Hidalgo County in June.

When the boy returned home, his mother apparently discovered inappropriate text messages between Baxter and the boy.

The messages included naked photos of Baxter and inappropriate comments, including “Babe I have never felt this much for anyone as I feel for you. I am so in love with you.”

Concerned, the mother contacted the Hidalgo County Sheriff’s Office and later spoke with the Texas Rangers.

Investigators determined that Baxter traveled to the Rio Grande Valley for the “Life in Color” concert at the State Farm Arena, according to the criminal complaint.

The boy told investigators they stayed at the Holiday Inn Express near the intersection of South 10th Street and Savannah Avenue in McAllen, according to the criminal complaint. The boy told investigators they engaged in sexual activity, but didn’t have sexual intercourse.

The Texas Rangers charged Baxter with violating the civil rights of a person in custody, a second-degree felony, and indecency with a child by sexual contact, a second-degree felony, according to Hidalgo County jail records.

Baxter remains at the Hidalgo County jail and couldn’t be reached for comment Monday afternoon.