After the death of the Roman emperor Constantine in 337 A.D. Christians were allowed to have buildings to worship in. These first churches were built on a similar plan to Roman basilicas. This plan was later used for the fine Gothic cathedrals and churches that were built at the end of the Middle Ages.