A teenager from Trowbridge has admitted downloading indecent images of children from the internet.
The 17-year-old, who cannot be named for legal reasons, pleaded guilty to eight counts of making and one of possessing the vile material when he appeared at Swindon Crown Court on Friday.
He had also been charged with having prohibited images of children and extreme pornography, which he denied.
After entering the pleas to the other matters, prosecutors said it would not be in the public interest to have a trial on those counts.
Judge Douglas Field adjourned the case to Friday, September 12, and released the boy on bail until then.