A United States woman Stephanie DeSimonel whose husband was killed during the 9/11 terror attacks, has sued Saudi Arabia.

This is first lawsuit after Congress passed law allowing families of victims to sue foreign governments for their role in terror attacks.

According to a report in Fox News, Navy Commander Patrick Dunn was killed after American Airlines Flight 77 crashed into Pentagon.

In her complaint, the woman said that she was two months pregnant with Dunn's child when he was killed.

The lawsuit seeks unspecified compensation, the report said.

The woman has alleged that Saudi government had provided terror support and required material to al-Qaeda, the terror outfit behind the attack.

The US congress on Wednesday voted overwhelmingly in favor of the JASTA despite President Barack Obama's disagreement. The law is likely to jeopardize the bilateral ties between both the countries and might also put America's troops and interests at risk.

Families of 9/11 victims have campaigned for the law - convinced that the Saudi government had a hand in the attacks that killed almost 3,000 people.

JASTA allows relatives of terrorism victims to pursue cases against foreign governments in US federal court and to demand compensation if such governments are proven to bear some responsibility for attacks on US soil.

Meanwhile, the Saudi government had condemned its passage calling the enactment of such act, "a matter of great concern" which may provoke unintended repercussions.

"The erosion of sovereign immunity will have a negative impact on all nations, including the United States," the Saudi foreign ministry said in a statement, which was carried on state news agency SPA on Thursday.

Saudi Arabia is one of America's longest-standing and most important allies in the Middle East and part of a U.S.-led coalition fighting Islamic State militants in Iraq and Syria.