How did the Hubble telescope get into orbit?

It was launched into orbit with a rocket.