Flag of Germany
When Heinrich XI, Prince Reuss of Greiz was appointed by Joseph II, Holy Roman Emperor to rule the then-new Principality of Reuss-Greiz on 12 May 1778, the flag adopted by the "Fürstentum Reuß-Greiz" was the first-ever appearance of the black-red-gold tricolour in its modern arrangement in any sovereign state within what today comprises Germany – the Reuss elder line that ruled the principality used a flag whose proportions were close to a "nearly square"-shape 4:5 hoist/fly ratio, instead of the modern German flag's 3:5 figure.
Flag of Baden-Württemberg
The flag of Baden-Württemberg was created in 1952, after the merging of the former German states Baden, Württemberg-Baden, and Württemberg-Hohenzollern, that were divided due to different occupying forces after World War II. Historically, the state of Southern Baden used a yellow-red-yellow horizontal triband. The state of Württemberg-Hohenzollern used a black-red horizontal bicolour. The colors were chosen as black and gold, and are defined in the constitution of the state of Baden-Württemberg, adopted on 11 November 1953.