Midlothian was previously called the county of Edinburgh and Edinburghshire.
There are 156 castles in the county of Midlothian.