A base station including: a memory, and a processor coupled to the memory and configured to: wirelessly communicate with one or more terminals via a plurality of component carriers of carrier aggregation, and allocate each of the plurality of component carriers to each of the one or more terminals based on both of each number of terminals allocated to each component carrier and each wireless quality of each component carrier for each terminal.