A method for, at a user equipment, UE, transmitting control information through a physical uplink control channel, PUCCH, in a wireless communication system, the method comprising: joint-coding a plurality of control information to generate N 1 modulation symbol sequence, wherein N 1 is twice of a number of subcarriers in one resource block, RB; dividing the N 1 modulation symbol sequence such that a first set of consecutive N 1 /2 modulation symbols of the N 1 modulation symbols corresponds to a first slot of the PUCCH and a second set of consecutive N 1 /2 modulation symbols of the N 1 modulation symbols corresponds to a second slot of the PUCCH; spreading the first set of consecutive N 1 /2 modulation symbols corresponding to the first slot using a first code such that a first set of spread sequences correspond to a first set of single carrier frequency division multiple access, SC-FDMA, symbols; discrete-Fourier-transforming, on an SC-FDMA symbol basis, the first set of spread sequences to generate a first set of discrete-Fourier-transformed signals; spreading the second set of consecutive N 1 /2 modulation symbols corresponding to the second slot using a second code such that a second set of spread sequences correspond to a second set of SC-FDMA symbols; discrete-Fourier-transforming, on an SC-FDMA symbol basis, the second set of spread sequences to generate a second set of discrete-Fourier-transformed signals; and transmitting the first and second sets of discrete-Fourier-transformed signals through the first and second sets of SC-FDMA symbols in the first and second slots, wherein the length of the second code is varied according to the number of SC-FDMA symbols for PUCCH transmission. joint-coding a plurality of control information to generate N 1 modulation symbol sequence, wherein N 1 is twice of a number of subcarriers in one resource block, RB; dividing the N 1 modulation symbol sequence such that a first set of consecutive N 1 /2 modulation symbols of the N 1 modulation symbols corresponds to a first slot of the PUCCH and a second set of consecutive N 1 /2 modulation symbols of the N 1 modulation symbols corresponds to a second slot of the PUCCH; spreading the first set of consecutive N 1 /2 modulation symbols corresponding to the first slot using a first code such that a first set of spread sequences correspond to a first set of single carrier frequency division multiple access, SC-FDMA, symbols; discrete-Fourier-transforming, on an SC-FDMA symbol basis, the first set of spread sequences to generate a first set of discrete-Fourier-transformed signals; spreading the second set of consecutive N 1 /2 modulation symbols corresponding to the second slot using a second code such that a second set of spread sequences correspond to a second set of SC-FDMA symbols; discrete-Fourier-transforming, on an SC-FDMA symbol basis, the second set of spread sequences to generate a second set of discrete-Fourier-transformed signals; and transmitting the first and second sets of discrete-Fourier-transformed signals through the first and second sets of SC-FDMA symbols in the first and second slots, wherein the length of the second code is varied according to the number of SC-FDMA symbols for PUCCH transmission.