King Jarot was the final king of Galifar as his death sparked a Civil War known as The Last War.
The Last War was a century long civil war between all of the nations of Khorvaire. It came to the end from instilled fear of The Mourning; The destruction of Cyre. The Treaty of Thronehold marked it's offical end
The Mourning was a cataclysm that destroyed the nation of Cyre and resulted eventually in The Treaty of Thronehold.