Cooling of beams of gold ions using electron bunches accelerated with radio-frequency (RF) systems was recently experimentally demonstrated in the Relativistic Heavy Ion Collider (RHIC) at Brookhaven National Laboratory (BNL). Such an approach is new and opens the possibility of using this technique at higher energies than possible with electrostatic acceleration of electron beams. The challenges of this approach include generation of electron beams suitable for cooling, delivery of electron bunches of the required quality to the cooling sections without degradation of beam angular divergence and energy spread, achieving the required small angles between electron and ion trajectories in the cooling sections, precise velocity matching between the two beams, high-current operation of the electron accelerator, as well as several physics effects related to bunched-beam cooling. Here we report on the first demonstration of cooling hadron beams using this new approach.