What happened when earthquake occurred in haiti?

It killed over 1,000,000 people, because it was so powerful it knocked down over 100 buildings