WASHINGTON (CBS News) — New research finds people with COVID-19 have a higher risk of developing some neurological and psychiatric conditions up to two years after infection.

Previous research from the University of Oxford found COVID-19 survivors were at risk of neurological and mental health conditions in the first six months after infection.

Their latest study in the journal Lancet Psychiatry looked at health records of more than 1 million patients diagnosed with COVID-19.

Researchers found an increased risk of developing conditions such as dementia, psychosis, seizures, and brain fog for up to two years after COVID-19 infection, compared to patients with other respiratory infections.

Adults also faced an increased risk of anxiety and depression, but researchers found this lasted less than two months and returned to similar rates after other infections.

The delta variant was associated with more disorders than the alpha variant. Similar neurological and psychiatric risks were seen with the delta and omicron variants.

This is the first large-scale study to look at the risks of these conditions with new variants emerging.

This study is also the first to look at children. Researchers found youngsters were less likely than adults to develop most neurological and psychiatric diagnoses after COVID-19, but children were more likely to be diagnosed with some conditions such as seizures and psychotic disorders over the two years after COVID infection.

Researchers say it’s important to note that the overall risk of these conditions is still low.