The first vascular forests flourished in the Carboniferous period, about 300 million years ago

The growth of giant lycophytes and tree ferns reduced atmospheric CO2 levels, leading to global cooling at the end of the Carboniferous.