Germany was formed in 1871, so yes, it was expanding, a new nation.
Uniting already densly populated German states without the open frontier and enlimited resources like in America is not the expanding in the sense we talked about. Nice try, though.