1-(2-Aminoethyl)-3-(arylsulfonyl)-1H-pyrrolopyridines are 5-HT(6) receptor ligands.