the county of midlothian includes the city of edinburgh. edinburgh is a council area on its own and so the council area of midlothian is the area of the county with edinburgh and some hills in the south cut off.