How did roman emporors affect the spread of Christianity?

one emperor was baptized after seeing a cross in the sky and winning a battle thus allowing Christianity in Rome.