A power plant (1) with a heat recovery steam generator HRSG (3), and a CO2 capture system (5) comprises a system for controlling the temperature of CO2 rich flue gases exhausted by the HRSG (3) and CO2 lean flue gases resulting from the CO2 capture system (5). The system comprises one single apparatus (4) for cooling the CO2 rich flue gases and a heat exchanger (6) to heat the CO2 lean flue gas, where the heat from the CO2 rich flue gas is used to heat the CO2 lean flue gas. The cooler (4) is configured to cool the flue gases from 70-140 °C down to a 10-50 °C, and the CO2 lean flue gas heater is configured to heat the flue gas from a temperature from 0-60 °C to 40-80 °C. The cooling of the flue gas enables CO2 capture at a temperature suitable for a given type of CO2 removal and the heating of the flue gas ensures buoyancy of the gas to be released through a stack (S). The system allows a full heat recovery and improves the overall performance of the power plant (1).