The basilica was Pompeii's largest building and was used for legal and commercial business. In the fourth century, this style of building was adopted by the newly legal Christian religion. It became the standard floor plan for the churches, or "basilicas," of medieval Europe.