Second Council of Nicaea
For about sixty years Byzantine emperors, fighting off Arab armies and convinced that images broke the commandment against idols, had ordered images of Christ and the saints destroyed, and persecuted the monks who defended them. In 787 the empress Irene called a council at Nicaea.
It ruled that images may be set up in churches and honoured, but not worshipped: the honour given to an image passes to the person it shows, and worship belongs to God alone. Iconoclasm returned for a time until 843.
It is the last council that Catholics and Orthodox both count as ecumenical.
“For the honour which is paid to the image passes on to that which the image represents, and he who reveres the image reveres in it the subject represented.”
The Church counts it as the seventh ecumenical council, the last one Catholics and Orthodox both accept. Its teaching stands: images are honoured, not worshipped, and the honour passes to the one they show (CCC 2131–2132).