Updated

WASHINGTON -- President Barack Obama is signing legislation to fund his troop surge in Afghanistan.

Before Congress passed it on Tuesday, the bill was stripped of money for domestic stimulus programs. Obama was signing it in a low-ley Oval Office session Thursday.

Democratic leaders had to rely on Republican support to pass the $59 billion measure, which provides money for 30,000 additional troops in Afghanistan and other programs. With Pentagon leaders warning that money for the troops could run out as early as Aug. 7, the House accepted the Senate's pared-down version of the legislation.

The bill favored by the House would have included billions of dollars to help keep teachers on the job, provide aid for college students and enhance border security.