What ended the lay investiture controversy?

Answer:
The Mongolian invasion
First answer by ID2584043975. Last edit by ID2584043975. Question popularity: 2 [recommend question].