Within ten years of the Young Pretender 's occupation of Holyrood , Edinburgh 's town council proposed a plan to relieve the chronic overcrowding of the Royal Mile tenements by constructing a New Town on land to the north of the castle .
Some of the housing areas in Edinburgh were overpopulated .