Deutsche Bank announced Tuesday it would not add jobs to a campus in Cary, N.C., because of a new state law that critics say allows for gender and sexuality discrimination.

"We take our commitment to building inclusive work environments seriously. We're proud of our operations and employees in Cary and regret that as a result of this legislation we are unwilling to include North Carolina in our U.S. expansion plans for now. We very much hope that we can re-visit our plans to grow this location in the near future," Deutsche Bank Co-CEO John Cryan said in a statement.

According to the Charlotte Observer, the bank was set to add 250 jobs in Cary by the end of next year. Its Cary campus employs 900 people currently.

The law signed last month by Gov. Pat McCrory, a Republican, "invalidated existing protections of the rights of gay, bisexual and transgender fellow citizens in some municipalities and prevents municipalities from adopting such protections in the future," Cryan wrote.

Deutsche Bank joins PayPal as the second major corporation to nix expansion plans in North Carolina because of the law, House Bill 2. PayPal last week cancelled a Charlotte operations center that would have employed 400 people.