Frederick North, governor of Ceylon from 1798–1805, maintained pressure on the Kandyan frontier with numerous attacks, in 1804 dispatched a force under Captain Arthur Johnston towards Senkadagala. In a pattern that had become clear over the past two hundred or so years, the Kandyans once again defeated the British in the mountainous territory they called home. In 1805, emboldened by their successes, they captured Katuwana, a frontier town. This and the 1803 victory at the Battle of the Mahaveli, were to be Kandy's last, meaningful military successes.