Three jailed after guilty pleas