It is the county seat of Washington County, and, by many definitions, the largest city in a region known as Western Maryland.
It is in Washington County.  By many definitions, it is the largest city in Western Maryland.