(CNN) -- Oregon will not defend the state's same-sex marriage ban in court because the law would not stand up to a federal constitutional challenge, the state's attorney general said Thursday.
However, Ellen Rosenblum said in legal documents that the state is legally obligated to enforce the state's ban on same-sex marriage while a federal lawsuit is litigated.
Oregon filed the documents in response to the lawsuit challenging the ban.
Oregon voters passed Measure 36 in 2004, which amended the state's Constitution to define marriage as between one man and a woman.
In 2013, the state's chief operating officer directed state agencies to recognize same-sex marriages that were legally performed in other states.
Thursday's response ended by saying the state will not defend the Oregon ban on same-sex marriage because it "cannot withstand a federal constitutional challenge under any standard of review."
Meanwhile, Rosenblum said officials are legally obligated to enforce the ban until the court makes a ruling.