Three jailed in district court