To take the wall

to take the inner side of a walk, that is, the side next the wall; hence, to take the precedence.

See also: Wall