Why part of Beijing was called the Tartar city
The principal part of it is called the Tartar city, from the circumstance of having been laid out anew in the thirteenth century in the time of the first Tartar dynasty. It is in the form of a parallelogram … in the centre of which is the imperial palace, occupying within the yellow wall at least one square mile.
Editorial context
Staunton describes Beijing as two walled cities side by side. The northern and larger one, with the imperial palace at its centre, was called the Tartar city; he explains the name by its being laid out anew under the first Tartar (Mongol) dynasty in the thirteenth century. The page after describes the 'Chinese city' adjoining its southern wall, half empty and partly under cultivation.
About Mongols (the 'first Tartar dynasty'); Manchus
Keep in mind
The origin of the name is Staunton's explanation; other European writers tied 'Tartar city' to the Manchu banner garrison that lived there under the Qing.