The abelian Higgs model is the textbook example for the superconducting transition and the Anderson-Higgs mechanism, and has become pivotal in the description of deconfined quantum criticality. We study the abelian Higgs model with n complex scalar fields at unprecedented four-loop order in the 4 − expansion and find that the annihilation of the critical and bicritical points occurs at a critical number of nc ≈ 182.95 1 − 1.752 + 0.798 2 + 0.362 3 + O 4 . Consequently, below nc, the transition turns from second to first order. Resummation of the series to extract the result in three-dimensions provides strong evidence for a critical nc(d = 3) which is significantly below the leading-order value, but the estimates for nc are widely spread. Conjecturing the topology of the renormalization group flow between two and four dimensions, we obtain a smooth interpolation function for nc(d) and find nc(3) ≈ 12.2 ± 3.9 as our best estimate in three dimensions. Finally, we discuss Miransky scaling occurring below nc and comment on implications for weakly first-order behavior of deconfined quantum transitions. We predict an emergent hierarchy of length scales between deconfined quantum transitions corresponding to different n.