Why were the Nuremberg laws created in Nazi Germany

The Nuremberg Laws were created in Nazi Germany in 1935 in order to institutionalize racial discrimination and persecution of Jews and other minorities. These laws were part of the Nazi government's broader efforts to exclude Jews from German society, strip them of their rights, and ultimately pave the way for their eventual extermination. The Nuremberg Laws classified people as either "Aryan" or "non-Aryan" based on their racial ancestry, and prohibited marriage and sexual relations between Jews and non-Jews. These laws formed the legal basis for the systematic oppression and eventual genocide of millions of Jews during the Holocaust.