The rise of quantum mechanics