PROVIDENCE, R.I. (AP) -- A Rhode Island man who was a longtime teacher at a Massachusetts high school has been sentenced to 18 months in a halfway house on federal child pornography charges.

Stephen Hickey of Warwick, R.I., was sentenced Wednesday in federal court in Providence.

The 60-year-old Hickey was for 30 years a social studies teacher at Tri-County Regional Vocational Technical High School in Franklin, Mass., until his arrest in February. He pleaded guilty in August.

Prosecutors say Hickey was arrested as part of an international investigation and was a customer of an Internet child pornography distributor. Child pornography images were found on his home computer.

The Sun Chronicle (http://bit.ly/1933dEQ ) reports that Hickey expressed remorse in court. His lawyers say he had an impeccable record as a teacher and never assaulted a child.