During World War I , Vilnius was occupied by Germany from 1915 until 1918 .
During World War I , Vilnius - as with the rest of Lithuania - was occupied by the German Empire from 1915 until 1918 .