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.