(CNN) The Democrat-controlled House of Representatives will join a growing list of organizations mounting legal challenges to President Donald Trump's national emergency declaration on the border, Speaker Nancy Pelosi said Thursday.

The lawsuit was approved with a 3-2 vote along party lines by the House Bipartisan Legal Advisory Group. The group is comprised of the top three House Democrats and the top two House Republicans

"The President's sham emergency declaration and unlawful transfers of funds have undermined our democracy, contravening the vote of the bipartisan Congress, the will of the American people and the letter of the Constitution," Pelosi said in a statement. "Congress ... must reassert its exclusive responsibilities reserved by the text of the Constitution and protect our system of checks and balances."

The lawsuit, which has not been filed yet, will argue that Trump's decision to transfer funds from appropriated accounts to a southern border wall violates the Appropriations Clause of the Constitution. The clause -- found in Article I, Section 8 -- gives Congress power over the designation of federal spending.

This is the chamber's second attempt to halt the use of federal dollars on the wall following the declaration in February.