Steven DeMart, 36, pleaded guilty Wednesday to attempted endangering the welfare of a child. He was sentenced to a one-year conditional discharge and was ordered to surrender his teaching license.