He provided a good example, for he built the first Royal Palace in Buda on what from that time on become known as Castle Hill. It was also he who, in a gold-sealed letter of 1244, conferred privileges on the towns that enabled them to develop agriculture and trade. Buda became the royal seat around the turn of the fifteenth century under the rule of Sigismund of Luxembourg, and the Royal Palace grew ever larger until its zenith was reached under King Matthias (ruled 1458-1490)."More from the source: budapestinfo.hu