 This covers the version used after 1935 with the swastika.The punishment can be up to three years in prison.However, the black-white-red tricolour flag used between 1871 and 1918/19 can be shown depending on circumstances in different states of Germany.