However, attempting to reconcile electromagnetic theory with two observations, the photoelectric effect, and the nonexistence of the ultraviolet catastrophe, proved troublesome.
What was dificult to reconcile the photoelectric effect and the missing ultraviolet catastrophe?
electromagnetic theory