The origin of heavy elements synthesized through the rapid neutron capture process (r-process) has been an enduring mystery for over half a century. Cehula et al. (2024) recently showed that magnetar giant flares, among the brightest transients ever observed, can shock-heat and eject neutron star crustal material at high velocity, achieving the requisite conditions for an r-process. Patel et al. (in prep.) confirmed an r-process in these ejecta using detailed nucleosynthesis calculations. Radioactive decay of the freshly synthesized nuclei releases a forest of gamma-ray lines, Doppler broadened by the high ejecta velocities v≳0.1c into a quasi-continuous spectrum peaking around 1 MeV. Here, we show that the predicted emission properties (light-curve, fluence, and spectrum) match a previously unexplained hard gamma-ray signal seen in the aftermath of the famous December 2004 giant flare from the magnetar SGR 1806-20. This MeV emission component, rising to peak around 10 minutes after the initial spike before decaying away over the next few hours, is direct observational evidence for the synthesis of ∼10−6M⊙ of r-process elements. The discovery of magnetar giant flares as confirmed r-process sites, contributing at least ∼1-10% of the total Galactic abundances, has implications for the Galactic chemical evolution, especially at the earliest epochs probed by low-metallicity stars. It also implicates magnetars as potentially dominant sources of heavy cosmic rays. Characterization of the r-process emission from giant flares by resolving decay line features offers a compelling science case for NASA's forthcoming COSI nuclear spectrometer, as well as next-generation MeV telescope missions.