A neurologist and research director of Emory University’s sleep medicine program testified Wednesday that he diagnosed Atlanta attorney Claud “Tex” McIver with a sleep disorder that can cause people to act out their dreams.

Dr. David Rye said he diagnosed McIver as suffering from rapid eye movement (REM) sleep behavioral disorder after a January 2018 study—16 months after McIver fatally shot his wife. McIver and his lawyers have always claimed the Sept. 16, 2016, shooting was an accident.