The Emergence of Current-Carrying Magnetic Loops into the Solar Corona