Probably a borrowing from (Medieval) Latin basilica, from Ancient Greek βασιλική (basilikḗ).
Practice speaking and memorizing "basilica" and many other words and sentences in Italian.