The House on Friday voted by unanimous consent to extend a controversial surveillance program until April 30.

Earlier in the morning GOP leaders had pushed for either a five-year renewal or the 18-month renewal President Trump had demanded, but both votes tanked.

The stop-gap measure was pushed through and Section 702 of the Foreign Intelligence Surveillance Act (FISA), which was set to expire Monday, now heads to the Senate.

The tool allows U.S. intelligence agencies to intercept the electronic communications of foreign nationals located outside of the United States.