Main

Observational surveys have identified several hundreds of luminous quasars at redshift z > 6–7 (refs. 1,2,3,4,5,6). The presence of supermassive black holes (SMBHs) with masses of 109–10M at such early cosmic epochs challenges models of SMBH formation and growth, and raises questions about the origin of seed black holes and the mechanisms for their rapid and extreme growth. Although the formation of seed black holes remains observationally unconstrained, they are commonly thought to originate in the first galaxies through several gas or stellar physical processes that can generate black holes with masses in excess of 102M (ref. 7). Historically, models have been divided into light and heavy seeds, with a demarcation at about 103M. The lightest seeds are generally associated with the death of the first stars with initial masses of 102–3M (refs. 8,9). The growth of such light seeds at very early time into the observed population of SMBHs at slightly later time is challenging, because black holes formed in this manner would have to accrete at the Eddington limit from the time they are formed up to the redshift at which they are observed10, which appears to be difficult11. The direct collapse of primordial gas clouds into supermassive stars turning into black holes with initial masses of 104–6M (that is, heavy seed)12,13 is an attractive alternative, as these heavy seeds can more rapidly grow into SMBHs even by means of slightly sub-Eddington accretion. However, the expected number densities for the sites where such supermassive stars can form are low. Intermediate pathways where seeds of 103–4M form from very massive stars in pristine rapidly growing halos or through stellar mergers, hierarchical black hole mergers and stellar captures in dense stellar systems bridge these two extremes14. It is also possible that heavy seeds originate from primordial black holes, eliminating the need for the stellar and gas-based processes15,16,17.

With the unprecedented sensitivity of the James Webb Space Telescope (JWST), it is now possible to extend studies to faint, low-mass sources at high redshifts (that is, z > 3–4), an epoch when both black holes and galaxies are still rapidly growing their mass, and such observation can provide insights into the mechanisms seeding early black holes. JWST has recently discovered a new population of relatively faint, compact, dust-reddened sources at z > 4 using various selection techniques in a wide variety of extragalactic surveys18,19,20,21,22,23,24. They are found to have overmassive black holes with respect to the local black hole mass (MBH)–stellar mass (Mstellar) relationship, exhibiting 10–100 times higher MBH/Mstellar ratios25. Most of these sources have not been detected in X-ray observations18,19,20,21,22,23,24; only two sources with X-ray-detections have been recently reported26. This faint population is likely to represent the moderate accretion phase of active galactic nuclei (AGNs), which are accreting at ~20% of the Eddington rates, and are hosted by relatively low-mass galaxies. Some of these sources are referred to as ‘little red dots’ and are characterized by a red continuum in the rest-frame optical and a modest blue UV continuum. Such sources exhibit prominent broad Balmer emission lines, which implies that they are powered by AGNs. These red compact sources are surprisingly abundant, being 100 times more common than UV-selected quasars at similar redshifts23.

LID-568, an X-ray AGN, was discovered among a hidden black hole population identified as near-infrared-dropout (near-IR-dropout) X-ray sources from the Chandra-COSMOS Legacy Survey27,28. Similar to other faint AGNs discovered by JWST, LID-568 appears extremely red and compact in the IR, yet it remains invisible in any optical wavelengths and even in the deepest near-IR imaging taken with the Hubble Space Telescope (HST). Its spectroscopic redshift, zspec = 3.965, was determined from JWST Near-Infrared Spectrograph (NIRSpec) and (Mid-Infrared Instrument (MIRI) observations, based on broad Hα, [S ii] and Paschen emission lines. The NIRSpec and MIRI spectra of LID-568 are shown in Fig. 1. However, LID-568 stands out as uniquely bright in the X-ray region relative to the population of faint AGNs discovered by JWST, which indicates a higher level of central accretion activity. The observed 0.5–10 keV flux is 5.16 × 10−15 erg cm−2 s−1 (ref. 27). Analysis of the X-ray spectrum (as inferred from the emission measured in the 0.5–2 keV and 2–7 keV bands) allows us to measure the obscuration (hydrogen column density, log NH = 23.44 (−0.34 + 0.47) cm−2) and the absorption-corrected luminosity in the 0.5–10 keV band (Methods). The absorption-corrected X-ray luminosity suggests an AGN bolometric luminosity of log Lbol = 46.6 (−0.44 + 0.36) erg s−1, a factor of ~100 higher than the average bolometric luminosities of JWST-discovered faint AGNs.

Fig. 1: The NIRSpec and MIRI spectra of LID-568.
figure 1

Left: Spitzer/IRAC 3.6, 4.5, 5.8 and 8.0 μm photometry (black points) with the best-fitting SED model (blue), including a power law (blue dotted) and greybody (blue dashed) components, at a spectroscopic redshift of zspec = 3.965 (Methods). The horizontal error bars represent the filter bandwidth. The JWST NIRSpec (green) and MIRI (orange) spectra are overplotted. Right: the spectra of LID-568 obtained with MIRI (top) and NIRSpec (bottom), with the detected emission lines marked.

The shape of the mid- to far-IR spectral energy distribution (SED) of LID-568 exhibits an extremely red IR continuum slope with a single power law of αλ ≈ 4.5 at λrest 1 μm (Extended Data Fig. 1). This characteristic cannot be explained by the currently available IR SED templates for obscured AGN and ultraluminous infrared galaxies (ULIRGs) and is substantially steeper than those of the faint AGNs discovered by JWST (which exhibit a power-law slope α𝜆 ≈ 2.0 on average)19. The detection of X-ray and mid-IR emission strongly suggests that LID-568 is indeed a heavily obscured AGN, without an apparent presence of the underlying host galaxy features. The model SEDs for super-Eddington accretion suggest a notable absence of rest-frame UV or even optical emission, with a tendency to become progressively redder in the IR as the Eddington ratio increases29. However, contrasting perspectives have been presented in other studies, indicating that super-Eddington accretion might lead to an excess of UV radiation, resulting in a significantly bluer continuum slope in the rest-frame UV30,31.

Given the point-like, compact nature of this source, the extremely red colour primarily arises from the thermal emission originating in a dust-obscured accretion disk, with negligible contribution from a host galaxy. Based on IR SED fitting that employs a power law and two greybodies32 (Methods and Extended Data Fig. 1), the dust temperature is substantially higher (655.53 K and 71.5 K) than what is typically observed in star-forming galaxies (10–60 K). This indicates that hot and warm gas dominates the IR emission, with negligible evidence of star formation activity. This is in contrast to the majority of dust-obscured galaxies at high redshift, which often exhibit signs of powerful starbursts. The derived total IR luminosity is log L8–1,000 μm ≈ 46.1 erg s−1, which is comparable to the AGN bolometric luminosity. The estimated dust mass Mdust is ~2.95 × 106M, which suggests that LID-568 contains less dust than the optically faint, dust-obscured galaxies at z ≈ 3 (that is, H-dropouts, HST-dark, NIR-dark)33,34 that have dust masses of ~1–4 × 108M. Assuming the dust-to-stellar mass ratios of HST-dark, dust-obscured galaxies at similar redshifts33, the inferred stellar mass of LID-568 is ~2 × 108M, which implies a low-mass (that is, dwarf) galaxy.

The single-epoch virial black hole mass (MBH), derived from the broad Hα emission line, is 7.2 (−5.4 + 10.8) × 106M, which indicates a rather low-mass black hole (Methods and the left panel of Extended Data Fig. 2). This yields an Eddington ratio (Lbol/LEdd) of 41.5, which implies extreme super-Eddington accretion activity. In Fig. 2, we show that the black hole mass of LID-568 is comparable with those of faint AGNs discovered by JWST at z ≈ 4–7. However, the notably higher bolometric luminosity of this object places it within a previously unexplored extreme accretion regime. On the other hand, there is growing evidence that AGNs with high accretion rates appear to have smaller broad-line region (BLR) sizes than those predicted by the canonical radius–luminosity relationship of sub-Eddington AGNs35,36. This discrepancy could potentially lead to an overestimation of the single-epoch black hole mass by as much as ~0.3 dex, resulting in a higher Eddington ratio.

Fig. 2: AGN bolometric luminosity (Lbol) versus black hole mass (MBH) of AGNs at high redshift.
figure 2

LID-568, with super-Eddington accretion (Lbol/LEdd ≈ 41.5) at z ≈ 4, is shown as a red star. Its X-ray-derived bolometric luminosity is approximately a factor of 100 higher than that of faint AGNs at z ≈ 4–7 with low-mass black holes18,20,23,24 recently found by JWST observations. For reference, UV-selected quasars5 at z > 5.8 are also shown. Systematic uncertainties on MBH associated with different single-epoch virial calibrations typically have a scatter of ~0.3 dex. Error bars represent 1σ uncertainties.

The ionized gas in LID-568 shows signs of a spatially unresolved nuclear outflow with velocities of ~−540 km s−1 (Methods and the right panel of Extended Data Fig. 2), which are similar to the velocities traced by the spatially extended Hα emission. In Fig. 3, we present NIRSpec/Integral Field Unit (IFU) channel maps of the Hα emission at different velocity ranges chosen to best highlight the multiple kinematic components observed around the central black hole (Extended Data Fig. 3). The blue-shifted Hα emission (~−600–−500 km s−1) peaks at a projected distance of 0.4″ (~3 kpc) to the north (B component) and 1″ (~7 kpc) towards the south (D component) from the central broad-line component (C component), whereas the north-eastern component A is found at a similar velocity to the central component C. The continuum emission associated with the spatially extended Hα emission components are not detected. Although these components could be part of the outflow, a merger origin cannot be excluded.

Fig. 3: JWST NIRSpec/IFU channel maps for the Hα emission line region.
figure 3

Top: each map shows the Hα emission line fluxes in different velocity bins. The spatially extended outflow components B and D are at velocity offsets of ~−600–−500 km s−1 with respect to the central broad-line component (C), whereas component A is found at a similar velocity to component C. Bottom: NIRSpec spectra of each component are shown in the Hα emission line region, extracted from circular apertures with a radius of 0.2″.

If the extended Hα emissions are associated with outflows, we can infer the AGN lifetime using the outflow velocity and radius. Considering that the outflow reaches ~7 kpc from the central black hole, we obtain the AGN lifetime as t = (7 kpc)/(540 km s−1) ≈ 1.2 × 107 yr. This lifetime is consistent with the lower limits on total accretion timescales set by Soltan arguments (that is, 107–9 yr (ref. 37)) and indirect measurements of AGN phase timescales (~107–9 yr (ref. 38)). Furthermore, theoretical studies39 suggest that super-Eddington phases might be sustained over timescales of a few tens of million years. This lifetime suggests that a substantial fraction of the mass growth of LID-568 may have occurred in a single, super-Eddington accretion episode.

To estimate the preburst mass of the black hole, we calculated the mass growth during super-Eddington accretion over 12 Myr using the equation MBH(t − t0)/MBH(t0) = exp((1 ϵ)λEdd(t − t0)/(ϵ × tEdd)), where tEdd = 450 Myr and the radiative efficiency ϵ is 0.1. The estimated black hole mass before super-Eddington accretion is ~102M (that is, light seed). We note that this growth scenario is feasible only if the black hole remains embedded within a giant molecular cloud and accretes the entire cloud without substantially altering the Bondi radius due to feedback. As such, this represents a lower limit on the pre-accretion black hole mass, which is consistent with a light seed but does not exclude the possibility of a more nuanced growth history with shorter accretion events happening on a heavier seed. In fact, it is also possible that the outflow could be associated with stellar feedback-driven outflows from a starburst event preceding the activity in the black hole.

The presence of potentially AGN-driven outflows, along with the lack of star-forming activity in LID-568, suggests that AGN feedback may play a crucial role in regulating and/or quenching star formation in this low-mass system at high redshift. This indicates the possibility of rapid and efficient growth of black holes relative to their host galaxies. Theoretical models predict a ‘blowout’ dusty red quasar phase transitioning from a heavily obscured starburst, during which AGN-driven outflows eject gas and dust from the host galaxy, thereby quenching the star formation40. It is possible that LID-568 represents a transient phase characterized by extremely high accretion rates with powerful outflows suppressing the star formation in its host galaxy. This could explain the presence of overmassive black holes hosted in low-mass galaxies in the local Universe41, as well as those found by JWST at z > 4 (ref. 25). Furthermore, the powerful AGN could produce dust in outflowing winds from the BLR (that is, smoking quasar)42, and this could potentially account for the abundant dusty AGNs observed with JWST at high redshifts.

LID-568 could potentially represent the long-sought-after low-mass black hole undergoing rapid growth through super-Eddington accretion. The discovery of a super-Eddington accreting black hole at z ≈ 4 unveils a missing key parameter space of the extreme accretion and provides new insights into the rapidly growing mechanisms of the early growth of black holes43,44,45. Although the rarest, most massive SMBHs at z > 6–7 could be explained by an origin from heavy seeds with sub-Eddington accretion, they still require continuous accretion over several hundred million years. The presence of overmassive black hole populations suggests the possibility that they could experience intermittent bursts of super-Eddington growth regardless of whether they originate from heavy or light seeds45,46. Super-Eddington accretion is likely to occur episodically, and the detection of LID-568 may represent one such episodic accretion phase. Future studies on a large sample of such objects will help to constrain the duty cycle of super-Eddington accretion and deepen our understanding of the mechanisms driving such high levels of accretion.

Methods

Parent sample

The parent sample comprised a previously undiscovered population of black holes, identified as near-IR-dropout X-ray sources (that is, invisible in the optical/near-IR bands) from the Chandra-COSMOS Legacy Survey27,28, which consists of 4,016 X-ray sources over a large area of ~2.2 deg2. We used the multiwavelength photometry from the most recent photometric catalogue from COSMOS202047 and HELP48, containing GALEX FUV, NUV, CFHT U, Subaru/Hyper Suprime-Cam (HSC) g, r, i, z, y, UltraVISTA Y, H, J, Ks, Spitzer/Infrared Array Camera (IRAC) 3.6 μm, 4.5 μm, 5.8 μm, 8.0 μm, Spitzer/Multiband Imaging Photometer for Spitzer (MIPS) 24 μm, 70 μm, Herschel/Photodetector Array Camera and Spectrometer 100 μm, 160 μm and Herschel/Spectral and Photometric Imaging Receiver 250 μm, 350 μm, 500 μm photometry. We visually inspected all the optical/IR images and identified those without any optical counterparts within a 2″ radius, which corresponded to the uncertainty of the Chandra position. We excluded sources whose flux was contaminated by nearby bright sources and possible diffuse X-ray emission. This resulted in a final sample of 62 IR-dropout X-ray sources. All sources were detected in one or more of Spitzer/IRAC (3.6, 4.5, 5.8, 8.0 μm) bands and 26 sources were detected in Spitzer/MIPS 24 μm photometry. Ten sources had Herschel far-IR detections. None of these sources had a counterpart in the Very Large Array 3 GHz source catalogue49.

ALMA observations

Spitzer/IRAC (ALMA) band 7 (275–373 GHz) continuum observations for all 62 IR-dropout X-ray sources were carried out in four observing blocks in November 2019 and January 2022 under the Cycle 7 programme 2019.1.01275.S (PI: Suh) with a total of 42 to 46 antennas. The observations were centred on the Chandra X-ray positions with an integration time of ~5 minutes per source. The data reduction was performed using the standard ALMA pipeline v.2021.2.0.128 (Common Astronomy Software Applications (CASA) v.6.2.1.7). We measured the integrated flux of all our targets using the imfit procedure from the CASA pipeline. The sources were modelled with a circular Gaussian profile of variable total flux, centroid, width, axis and position angle. The 870 μm flux of LID-568 was 545 ± 158 μJy, and the position of the 870 μm emission as measured from ALMA was in good agreement with those of Spitzer/IRAC. In Supplementary Fig. 1, we show multiband images of LID-568, which are invisible in the Subaru/HSC optical and UltraVISTA near-IR images.

JWST observations

We obtained JWST/NIRSpec50,51 and MIRI/LRS52 observations of LID-568 under the Cycle 1 GO programme number 1760 (PI: Suh). The NIRSpec/IFU observations were taken in April 2023 with the grating/filter combination of G395M/F290LP. This covered the spectral range of 3–5 μm with an average spectral resolution of R ≈ 1,000. The field of view of the IFU mode was ~3″ × 3″, with each spatial element in the resulting IFU datacube of 0.1″ × 0.1″. We used the NRSIRS2 readout mode, which improves signal-to-noise ratio and reduces data volume. The observations were taken with 18 groups and one integration per exposure, using a four-point medium cycling dither pattern, resulting in a total exposure time of 1.45 h.

The NIRSpec/IFU data reduction was performed with the JWST Science Calibration pipeline v.1.11.4, using the CRDS context jwst_1149.pmap. We also added additional steps to improve the quality of the reduced data53. The reduction process consisted of three stages. The first stage accounted for detector-related issues, such as bias and dark subtraction, and cosmic ray flagging. At the end of this stage, the groups were fitted to create two-dimensional count rate images (that is, ‘rate files’). The second stage applied the flat field correction, wavelength and flux calibration. The calibrated exposures were then processed in the third stage, where a further flagging of cosmic rays was applied before building the final datacube. Before running the second stage, we removed the detector low frequency noise 1/f affecting the rate files by subtracting from each spectral column its median value after applying a sigma clipping54,55,56. We fixed a pipeline bug reported by the STScI Helpdesk by setting all the saturated pixels and the pixels with bad flat field correction to ‘DO_NOT_USE’, which removes several outliers from the calibrated exposures. We removed the remaining outliers from the datacube by filtering out all the voxels with a jump over contiguous channels persisting for less than four channels, which is the typical width of these features. Finally, we subtracted the background as a function of the wavelength by calculating the median over ten spectra extracted from empty regions in the cube field of view in each channel. We note that the background increases as a function of the wavelength, an expected effect due to an increase in the zodiacal and stray light57. We thus subtracted it channel by channel to obtain a background-free datacube.

The MIRI/LRS slit spectroscopy observations were conducted in January 2023 using a P750 disperser, covering a wavelength range of 5–12 μm with a spectral resolution of R ≈ 100. The observations were performed with 360 groups per integration in FAST/FULL mode, with two integrations per exposure using a two-point dither along the slit. This resulted in a total exposure time of 1.1 h. The fully reduced data were retrieved from the Mikulski Archive for Space Telescope, which were processed using the JWST Science Calibration pipeline v.1.12.5, with the CRDS context jwst_1135.pmap.

X-ray luminosity

To compute the intrinsic X-ray luminosity in the 2–10 keV band, we used the XSpec software (v.12.13.0)58 to fit the Chandra spectrum using a simple power-law model with the photon index fixed to Γ = 1.9, modified by both Galactic absorption (NH = 2.6 × 1020 cm−2 (ref. 59)) and absorption at the redshift of the source, NH(z). The second absorption component accounted for both nuclear absorption due to the gas orbiting in the proximity of the SMBH (that is, torus) and absorption due to the interstellar medium in the host galaxy. The column density was measured as log NH = 23.44 (−0.34 + 0.47), and the absorption-corrected rest-frame 2–10 keV luminosity was determined as log (L2–10keV) = 44.79 (−0.33 + 0.27) (Supplementary Fig. 2).

To take into account the more complex absorption and reflection processes in the case of Compton-thick obscuration (NH > 1024 cm−2), we also derived the column density and intrinsic X-ray luminosity using the MYtorus model60,61. This model consists of three components: the obscuration along the line of sight, including Compton scattering, applied to the primary power law, the reflection and the fluorescence emission line complex. The relative strength of these components was fixed to be the same, and the inclination angle between the line of sight and the axis of the torus was set to 75° to ensure interception of the obscuring torus. A power-law photon index of Γ = 1.9 was assumed. The column density and intrinsic X-ray luminosity derived from the MYtorus model were consistent with the standard power-law model, well in the Compton-thin regime. If we allowed the photon index to be a free parameter, the fit tended toward a softer power law (Γ = 2.4 for MYtorus and 2.9 for the simple power law) and, consequently, even higher column densities and intrinsic luminosities: log L2–10keV = 45.08 for MYtorus and 45.5 for the power law. Therefore, the choice of Γ = 1.9 was conservative in estimating intrinsic luminosity.

SED fitting

The SED fitting was performed using a modified approach based on ref. 62, utilizing the same SED libraries as those in AGNfitter63. Additionally, we independently fitted the SED using CIGALE64 and X-CIGALE65, the latter of which included the use of X-ray fluxes. Despite using various parametrizations and models for stellar populations, star formation history, dust emission and attenuation, and AGN emission from different SED fitting codes, we found that the SED of LID-568 shows an unusually red IR continuum that cannot be reproduced by any combination of the models and parameters used.

We further fitted the dust emission using the modified IR SED fitting code developed in ref. 32. We employed a composite mid-IR power law and two-temperature greybodies. We used a fixed value of the emissivity (β = 1.5), and allowed the mid-IR power-law slope (α) as a free parameter. The rest-frame observed photometric data (black) are presented alongside the best-fit IR SED (yellow) in the left panel of Extended Data Fig. 1. The SED is well fitted by a power law, and hot greybody (655.5 K) and warm greybody (71.5 K) components, which are much hotter than what is typically observed in star-forming galaxies (10–60 K). From the best fit, we derived the total IR luminosity (L8–1,000μm) and the dust mass. In the right panel of Extended Data Fig. 1, we show the SED of LID-568 overlaid on the SED templates66 of the AGN-dominated local ULIRG (Mrk 231), the extreme local starburst ULIRG (Arp 220) and the AGN dust torus model at redshift z = 3.965. The IR SED shape of LID-568 seems to be consistent with the torus model spectrum, but cannot be explained by currently available IR SED templates of obscured AGN/ULIRGs.

AGN bolometric luminosity

The bolometric luminosity of AGNs can be estimated from the X-ray luminosity by applying a suitable bolometric correction67. To accurately estimate the total intrinsic luminosity radiated by the AGN accretion disc, it is necessary to constrain the absorption-corrected intrinsic X-ray luminosity, as X-rays are often obscured and may include reprocessed radiation. The AGN bolometric luminosity of Lbol = 46.59 erg s−1 is derived using the absorption-corrected rest-frame 2–10 keV luminosity by applying a luminosity-dependent bolometric correction as described in ref. 67.

We also computed the AGN luminosity from the SED by integrating absorption-corrected total X-ray luminosity (L0.1–100keV) and the best-fit AGN torus luminosity (L1–1,000μm) following ref. 62. To convert the IR luminosity into a proxy for the intrinsic nuclear luminosity, we considered the geometry of the torus and its orientation by applying the following correction factors: the first correction is related to the covering factor, which represents the fraction of the primary UV-optical radiation intercepted by the torus (~1.5 (ref. 68)) and the second correction is due to the anisotropy of the IR dust emission, which is a function of the viewing angle (~1.3 (ref. 69)). The derived AGN bolometric luminosity was Lbol = 46.68 erg s−1, which is consistent with the X-ray-derived bolometric luminosity.

We additionally derived the bolometric luminosity using the Hα luminosity following ref. 18. We calculated the rest-frame 5,100 Å luminosity from Hα luminosity using the equation in ref. 70. The bolometric luminosity was estimated using the bolometric correction factor in ref. 71, Lbol = 10.33 × L5,100, to be 45.60 erg s−1, which is ~1 dex lower than that derived from other methods (that is, X-ray luminosity and SED fitting). This indicates that the Hα emission could possibly be highly obscured, potentially leading to an underestimate of the Hα-derived black hole mass by a factor of a few. However, we point out that when estimating the Eddington ratio using an internally consistent method based on the Hα emission for both AGN bolometric luminosity and the black hole mass, the black hole is still accreting at the super-Eddington accretion level of ~4.4. We note that the bolometric correction factor for Hα luminosity could be uncertain for those obscured AGNs with super-Eddington accretion at high redshifts. The estimated bolometric luminosities obtained using various methods are shown in Supplementary Fig. 3.

Black hole mass and outflows

The single-epoch virial black hole mass was estimated using the broad Hα emission line width and the line luminosity from the rest-frame UV/optical spectra as a proxy for the characteristic velocity and the size of the BLR. The NIRSpec spectra were extracted from a circular aperture centred at the position of the BLR, with radius of 0.2″ (r = 2 pix). We utilized the mpfit routine for fitting the emission lines, employing a Levenberg–Marquardt least-squares minimization algorithm to derive the best-fit parameters and assess the overall fit quality72. Specifically, we fitted and subtracted a power-law continuum (fλ) as a function of wavelength (λ), fλ λa, from the spectra and performed a simultaneous fit with a combination of multiple narrow and broad Gaussian components to best characterize the line shape. For the narrow emission lines, we fitted the [N ii] 6,548, 6,583 Å lines with a fixed ratio of 2.96, as well as the [S ii] 6,716, 6,731 Å doublet, along with Hα 6,563 Å. We constrained the line widths and relative line centres of the narrow-line components to the narrow Hα emission line. The broad Hα line was best fit with two broad Gaussian components: one for the BLR and the other for the blue-shifted outflow component. We also included blue-shifted broad Gaussian components for the [S ii] 6,716, 6,731 Å doublet.

Additionally, we investigated the inclusion of additional broad Gaussian components for the [N ii] 6,548, 6,583 Å lines as outflow components. We also tested the fit both with and without constraining the range of ratios of the [S ii] 6,716, 6,731 Å doublet. However, we found no meaningful statistical improvement from adding these broad Gaussian components. For the former, this lack of meaningful improvement in the fit is likely to be due to the [N ii] components being overwhelmed by the much stronger Hα emission. For the latter, the blueward [S ii] emission appears to dominate the fit in that spectral region, and, given the lower signal-to-noise ratio of both features, it is not surprising that a similar goodness of fit is returned by forcing the ratio of the strength of the two components within the canonical allowable range. Furthermore, changes in the fitting approach did not appreciably affect the inferred black hole mass beyond the inherent random and systematic uncertainties.

Finally, we measured the broad-line width and the line luminosity from the best-fit spectra. The black hole mass was computed using the equation from ref. 70. Although the measurement uncertainties on MBH were relatively small (~0.1 dex), systematic uncertainties associated with different single-epoch virial calibrations carried a scatter of ~0.3 dex (refs. 35,36,73). We estimated the black hole mass to be 7.2 (−5.4 + 10.8) × 106M. The uncertainties of the black hole mass were determined by the sum of the statistical and intrinsic scatter of the calibrations.

Extended Data Fig. 2 (left) shows the best-fit model around the Hα, [N ii] and [S ii] region. Broadened and/or shifted components in emission lines trace gas with different kinematics, potentially indicating outflows. We investigated possible signs of outflows using Hα and [S ii] lines because [O iii], which typically serves as a tracer of outflows, is not covered by our dataset. In Extended Data Fig. 2 (right), we compare the blue-shifted Hα emission line with that of the [S ii] line components. Although we left the line widths and relative line centres of the blue-shifted components as free parameters, the broad blue-shifted emission is evident in both the Hα and [S ii] lines, exhibiting the same broad-line width and velocity offsets, which suggests that they are kinematically coupled. From the best-fit model, we inferred a spatially unresolved outflow velocity of ~−540 km s−1. Similar velocities are associated with the spatially extended Hα emission (Extended Data Fig. 3), which could be part of the outflow or indicate ongoing merger activity. The mass of the ionized outflow as inferred from the blue-shifted outflow component of the broad Hα emission was 1.4 × 107M, using equation (1) from ref. 74. Assuming an outflow velocity of −540 km s−1 and that the extended Hα emission is representative of the outflow radius (that is, rout = 1″ (~7 kpc)), the outflow rate was ~3.1 M yr−1.

Environment

We measured the environmental density surrounding LID-568 by employing the Voronoi tessellation Monte Carlo mapping described in refs. 75,76. Briefly, this technique uses a weighted combination of spectroscopic and photometric redshifts to construct a galaxy overdensity cube in thin (7.5 proper Mpc) slices running from 2 < z < 5. The mapping leverages the wealth of panchromatic imaging data from COSMOS, as well as a large number of spectroscopic redshifts drawn from public surveys and proprietary data. The particular instance of the Voronoi tessellation Monte Carlo mapping used in this work was identical to that of ref. 77.

After an overdensity cube had been constructed over the full redshift range, a source extractor-based post-processing technique, as described in ref. 76, was used to link detections of overdensities across contiguous slices to search for coherent structure and estimate the mass of the detected structure. For density mapping at z > 2, this post-processing technique was trained on mock observations of custom-built light cones to maximize the purity and completeness associated with the detection of protogroups and protoclusters. At the spatial location of LID-568, the spectroscopic coverage in the COSMOS field was fairly sparse, and we estimated that our method was >50% complete only for structures with z = 0 masses greater than 1014.5M, that is, massive protoclusters, at z ≈ 4.

We find no evidence that LID-568 is associated with an overdensity of galaxies. The local overdensity at the location of LID-568 was log (1 + δgal) = 0.11, which is approximately a 1σ fluctuation over the mean (galaxy) density of the universe at these redshifts. Measuring the average overdensity in a cylindrical aperture of radius 1 proper Mpc and depth of Δz = 0.02 centred on the redshift of LID-568 recovered a consistent value. Additionally, we detected no associated coherent structure within Δz = 0.04 and R < 5 proper Mpc of LID-568, which indicates that it is not likely to be embedded in a massive forming cluster. However, given the paucity of spectroscopic redshifts in proximity to LID-568, we cannot rule out membership in a lower mass structure. We also note that, at such redshifts, galaxy-traced methods can fail to detect massive overdensities that are well traced by neutral hydrogen78. Future spectroscopic observations of the surroundings of LID-568 and similar sources will help to better quantify the environments in which they reside.