A former attorney for a prominent church was sentenced Monday to six months of home confinement for destroying the ex-music director’s laptop computer containing child pornography.

The music director, Robert Tate, was convicted of possessing child pornography, but prosecutors and a judge disclosed Monday that Tate had a long history of sexually abusing children.