Madrid has begun planning to execute thousands of parrots, as it is making a fuss over the population and threatening public health, according to the city council.

Reuters quoted that it had been decided to kill more than 11,000 birds, a number that represents about 90 percent of the total parrots in the Spanish capital.

The execution program, which has been criticized by animal welfare groups, is scheduled to start in October and last for 23 months.

The local administration has allocated about three million euros (3.25 million dollars) for this process.

The program aims to put parrots numbers under control by destroying their nests, removing their eggs, families of chicks, and adult birds that use nests and cages.

For its part, the Environment Department in Madrid said that "the process of euthanasia that is subject to moral standards will be conducted using methods that do not violate the standards of animal welfare."