The city grew in area by annexing new suburbs from the surrounding counties , the last being in 1918 , when the city acquired portions of Baltimore County and Anne Arundel County .
The city added parts of Baltimore County and Anne Arundel County .