The White House has announced that President Obama on Wednesday will sign into law the defense spending bill that contains sweeping new hate crimes legislation.

Obama will sign into law the National Defense Authorization Act for Fiscal Year 2010 Wednesday afternoon.  Secretary of Defense Robert Gates, Members of Congress, and others will join him.

Then later that day Obama will host a reception to commemorate the enactment of the Matthew Shepard and James Byrd, Jr. Hate Crimes Prevention Act.

This act, named after a gay teenager and a black man who were both murdered, makes it a federal crime to discriminate based on sexual orientation, disability or gender.

Controversy erupted when this hate crimes act became tied to the $680 billion defense spending bill.

Tony Perkins, with the Family Research Council, said it forced lawmakers to choose between supporting the nation’s troops or their belief that the hate crimes act could interfere with the freedom of one’s religious beliefs:

“This hate crimes provision is part of a radical social agenda that could ultimately silence Christians and use the force of government to marginalize anyone whose faith is at odds with homosexuality. Expanding hate crimes puts America in lock step with the stated agenda of homosexual activists who will turn next to the so-called Employment Non-discrimination Act, followed by the repeal of the ban on homosexuality in the military and then the Defense of Marriage Act.”