When did the official religion of the Roman empire change to Christianity?

Christianity became the official religion of the Roman empire by order of Theodosius I in the year 380 when he ordered mandatory Christianity for everyone.