It was Prince Elector Ruprecht III (1398 - 1410) who had erect the first representative building as a regal residence.