Old-time king of Mysore who fought the British