A 36-year-old Calne man who had a sexual relationship with an underage girl has been warned he could be jailed.
Michael Bishop has been ordered to register as a sex offender after admitting a string of offences against a 15-year-old girl.
On two weekends, a month apart, in late autumn last year he had sex with the teenager.
He also admitted two other sex acts with the child on the same dates when he appeared at Swindon Crown Court on Friday.
Bishop, of Low Lane, Calne, pleaded guilty to six counts of sexual activity with a child.
The first three offences took place between Friday, October 25, and Monday, October 28, and the others between Friday, November 22, and Monday, November 25.
He was also charged with causing a child to watch sexual activity in November, which he denied, and prosecutors said they would not seek a trial.
Judge Douglas Field adjourned the case to Friday, April 25, and released him on conditional bail until then.
He said: "I must warn you, the fact that I am granting you bail should not be taken as any indication of the outcome of your case."