Two trainee Army officers have admitted planning to sell more than two hundred tablets of drugs to their military friends.

Shane McHaffie and George Steele were caught by police in Auckland while they were sitting in a car with the pills.

The drugs contained a stimulant which gives a high similar to ecstasy. But as the 19 year-olds thought the pills were ecstasy, both were charged with attempting to supply a class B drug.

The aspiring officers will be sentenced in May. The charge carries a maximum sentence of ten years in jail.