The eleventh additional district and sessions court on Saturday sentenced six accused to two-and-a-half years of imprisonment for misbehaving with a woman and attacking her husband and daughter on a train.They also robbed her mangalsutra, an ATM card and other valuables.