Long-term exposure to glucocorticoid medications, such as asthma and anti-inflammatory medication, has been shown to create deficits in memory and attention both during and, to a lesser extent, after treatment, a condition known as "steroid dementia".