Ellerslie is an unincorporated community and census-designated place in Allegany County, Maryland, United States. As of the 2010 census it had a population of 572. Ellerslie is part of the Cumberland, MD-WV Metropolitan Statistical Area. The community is named for Elderslie, Scotland, the birthplace of Scottish hero William Wallace.
Less