Complex sentence: A legend states that King Pratap Malla (1641--1674) had a prophetic vision that resulted in both his belief in and fear of the fact that if the King of Nepal visited the Budhanilkantha Temple, death would be imminent upon his departure.
Split into simpler sentences: A legend states that King Pratap Malla (1641--1674) had a prophetic vision. This vision resulted in both his belief in and fear of the fact that if the King of Nepal visited the Budhanilkantha Temple, death would be imminent upon his departure.