The Holy Spirit took control of everyone, and they began speaking whatever languages the Spirit let them speak.