Answer
Gregory XII passed away in 1417, during a period marked by internal conflicts within the Catholic Church known as the Western Schism. His death played a pivotal role in resolving the schism, as it allowed for the election of a new, universally recognized pope, Martin V, who successfully reunited the divided church.