Read a history book.
turkey declaration of war on germany
Even Wikipedia knows this:
During World War II, Turkey maintained diplomatic relations with Germany until August 1944. The GermanTurkish Treaty of Friendship was signed on 18 June 1941. ... Turkey severed its diplomatic and commercial relations with Germany, and on February 23, 1945, declared war on Germany....