The accurate description of electrons at extreme density and temperature is of paramount importance for, e.g., the understanding of astrophysical objects and inertial confinement fusion. In this context, the dynamic structure factor S(q, ω) constitutes a key quantity as it is directly measured in X-ray Thomson (XRTS) scattering experiments and governs transport properties like the dynamic conductivity. In this work, we present the first ab initio results for S(q, ω) by carrying out extensive path integral Monte Carlo simulations and developing a new method for the required analytic continuation, which is based on the stochastic sampling of the dynamic local field correction G(q, ω). In addition, we find that the so-called static approximation constitutes a promising opportunity to obtain high-quality data for S(q, ω) over substantial parts of the warm dense matter regime.Over the recent years, there has been a remarkable spark of interest in so-called warm dense matter (WDM), an extreme state with high densities (r s = a/a B ∼ 1, a is the mean interparticle distance and a B the Bohr radius) and temperatures (θ = k B T /E F ∼ 1, with E F = 2 q 2 F /2m and q F = (9π/4) 1/3 a B /r s being the Fermi energy and wave number). These conditions occur, for example, in astrophysical objects such as white and brown dwarfs [1-5] and giant planet interiors [6-10], hot-electron chemistry [11,12], laser-excited solids [13], and along the compression path in inertial confinement fusion experiments [14][15][16][17]. WDM is nowadays routinely realized at large research facilities like NIF [18,19], LCLS [20,21], and the European X-FEL [22]. Here Xray Thomson scattering (XRTS) [23-25] has emerged as an important method of diagnostics, with the electronic dynamic structure factor S(q, ω) being the central quantity. However, to make XRTS a reliable tool, an accurate theoretical description of the dynamic density response of warm dense electrons is indispensable [26].In this Letter, we focus on the uniform electron gas (UEG), one of the most fundamental model systems in physics and quantum chemistry [27,28]. While the static properties of the UEG in the ground state have mostly been known for over three decades [29][30][31][32], the intricate interplay of Coulomb coupling and quantum degeneracy effects with thermal excitations has rendered a thermodynamic description in the warm dense regime a challenging problem that has only been solved recently [33][34][35], see Ref.[36] for an extensive review. Naturally, dynamic simulations of electrons that are required for frequencyresolved properties (dynamic conductivity, optical absorption, collective excitations etc.) and rigorously take into account all aforementioned effects are even more difficult. Therefore, results for S(q, ω) at WDM conditions that go beyond the random phase approximation (RPA) [37] are sparse and have been obtained using uncontrolled approximations, such as diagram-summationbased Green function techniques [38][39][40][41]. On the other hand, ab initio path integral Mo...