The agency took data from 323 cities across Europe. Ljubljana ranked 260th. Slovenia's second-largest city Maribor fared a bit better and placed 212th.
The top three cleanest cities in Europe of the past two years were Umea in Sweden, Tampere in Finland, and Funchal in Portugal. The most polluted air could, on the other hand, be found in Nowy Sacz in Poland, Cremona in Italy, and Slavonski Brod in Croatia.
The EEA noted that while air quality in Europe has improved significantly in the past decade, air pollution still caused 417,000 premature deaths in 41 European countries in 2018.