UPDATE 12/12/19, 1:30 pm ET: After publication, errors in the data set and data analysis were identified. Joscha Legewie could not replicate his original findings and the journal is retracting his paper. The story appears below in its original form.

In 2018 Joscha Legewie was reading The New York Times when he came across an article on health disparities between white and black babies. Black infants are twice as likely to die before their first birthday. Black women are three to four times more likely to die from complications during childbirth than white women. To explain the disparities, medical researchers were increasingly looking to the stresses of structural racism, the article explained. Legewie, a sociologist at Harvard, couldn’t help wondering if violence by cops might be one way those stresses entered mothers’ and babies’ lives.

His research, published Wednesday in the journal Science Advances, supports his early hunch. According to an analysis of police shootings of unarmed blacks between 2007 and 2016, such violent incidents can cause acute stress to pregnant black women in the area near an incident. The killings can even affect the health of their infants in utero.

Legewie gathered data on 3.9 million births in California, which are available to researchers, in anonymized form, through the state’s Department of Public Health. He focused on two markers of infant health—gestational age and birth weight—and compared them with the data on police shootings in California over the same nine-year period. Legewie’s findings suggest that police killings of unarmed black victims have an effect on black women in those communities, namely during the first and second trimester of their pregnancies. Later, when those babies were born, they had a lower birth weight on average than is typical for black babies. The infants also were more likely to be born several weeks early. The closer geographically mothers were to the shootings, the more severe the impact.

“It’s distressing, but I’m not surprised,” says Paula Braveman, director of the Center on Social Disparities in Health at UC San Francisco. Birth weight and gestational age are important predictors of both infant health and lifetime health. Low birth weight and preterm births are associated with physical and mental developmental problems. They can lead to the early onset of chronic illnesses like diabetes and heart disease. “If you start off as preterm or low birthweight, you have so many strikes against you,” says Braveman. “There’s only so much catching up that you can do.” Braveman’s work has produced similar findings, which suggest that black mothers’ chronic stress over racism could contribute to health disparities between black and white infants.

Last year, the American Public Health Association designated law enforcement violence a public health concern. One 2018 study found that shootings hurt black men’s mental health. “Gun violence, segregation, these things have not traditionally been public health issues. But there’s been a growing call for people to understand that everyday life affects your health,” says Margaret Hicken, a public health researcher at the University of Michigan.

Getting shot is undoubtedly bad for your health. Connecting police shootings with community health, however, is more complicated. When Legewie examined his data set, he tried to account for other factors that might affect the birth metrics, such as neighborhood violence and race. He compared nearly 250,000 black births with more than a million white and 2 million Hispanic births. White and Hispanic infants didn’t seem to be affected, and police shootings of unarmed victims of other races didn’t produce a strong effect either. He also didn’t find the same impacts when the black victims were armed.