How did Samsung become king?

In the eyes of the consumer, the Galaxy phone are the products to beat in the world of android. Its been evident by quarter after quarter of strong sales. Why? Availability, price, features? Why is Samsung the top dog of android handsets?