Congress has passed legislation that will fund the Department of Homeland Security without touching President Barack Obama's immigration actions, bringing an end to a months-long battle that threatened to shut down an agency tasked with helping protect the U.S. against terrorist threats. In a 257 to 167 vote, the House passed a "clean" Homeland Security funding bill on Tuesday without provisions that would curtail the president's executive orders on immigration. The Senate passed the legislation last week and the president's signature is certain.