Written for advanced undergraduate students physicists and historians and philosophers of physics this book explains the origins of quantum mechanics from a historical perspective. It delves much deeper than other books explaining how a coherent theory was developed and why it has to be as complex as it is.