The climate effects of burning coal were well known in the scientific community as early as 1856 (Eunice Foote) or 1859 (John Tyndall).
Deliberate misinformation from fossil fuel companies has been around since at least 1991 when they published a film about climate change, "A Climate of Change."