Persian and Arabic scholars were heavily involved in translating, analysing and synthesising Greek texts and concepts.
Some thought mental disorder could be caused by possession by a djinn (genie), which could be either good or demon-like.