The border wall divides San Diego County California, U.S. (L) and Tijuana, Mexico, January 2, 2019. REUTERS/Mohammed Salem

WASHINGTON (Reuters) - The U.S. House of Representatives on Thursday approved a bipartisan border security bill aimed at averting a government shutdown and sent it to President Donald Trump, including new barriers for part of the U.S.-Mexico border but not the $5.7 billion he sought.

The Democratic-run House backed the measure, a spending bill providing over $300 billion for several government departments and agencies, 300 to 128. It passed the Senate earlier on Thursday. The White House has said Trump will sign it into law, but will also attempt to use unilateral powers to obtain money for a wall.