the borune dynasty had been going steadily downhill for a hundred years or so , and the last borune emperor , clearly an idiot , succumbed to the importunings of the merchant princes and dispatched legions to force the gates of the city of riva .