A White House spokesman says President Bush is expected to sign into law sweeping rail safety legislation in the wake of the deadly train collision in Los Angeles last month.

Spokesman Trey Bohn said Thursday that the legislation takes positive steps to further improve rail safety in the U.S.

The House passed the bill last week and the Senate passed it Wednesday.

The legislation requires more rest for workers and technology that can engage the brakes if a train is headed for collision. That could have prevented the Sept. 12 collision between a freight and a commuter train that killed 25 people.

The bill also authorizes billions for Amtrak, which Bush has opposed, and $1.5 billion in matching funds for Metro.