sentences:  The following year another British incursion resulted in stalemate, and an uneasy truce was in place by 1805.In the following decade Sri Wickrama Rajasinha's increasingly erratic and capricious rule led to serious unrest amongst the population.A major rebellion in the Seven Korales nearly dethroned him in 1808.