by Michael Winter, USA TODAY

by Michael Winter, USA TODAY

An Amtrak train derailed this afternoon after a tractor-trailer truck drove into it at a crossing in California's San Joaquin Valley. Authorities said up to 50 people suffered mostly minor to moderate injuries.

Hours later, a truck drove into a freight train on tracks several miles from the Amtrak derailment.

The silage truck hit the train around 4 p.m. PT (7 p.m. ET) about 18 miles from the Amtrak derailment, near Hanford, KMPH-TV says. The driver suffered unspecified injuries. The freight train did not derail.

Update at 7:11 p.m. ET: Officials say 42 people were taken to six area hospitals, mostly for minor injuries or complaints of pain, the Fresno paper reports.

Update at 6:40 p.m. ET: Witnesses said the crossing arms were lowered at the guarded crossing, the Fresno Bee says. The truck was carrying cotton trash.

As configured, the engine was the last car, and the truck hit between it and the last passenger car, said Amtrak spokeswoman Vernae Graham.

She said that 169 passengers were aboard and that all injuries were not life-threatening. The train crew was not hurt. The truck driver's condition was not reported.

Update at 6:07 p.m. ET: KMPH reports that a baby was thrown from the train but not seriously injured.

The sheriff's department also says the southbound train hit the big rig at a crossing. Three of the five cars derailed.

The train left Oakland at 10:05 a.m. (1:05 p.m. ET) with between 120 and 150 passengers.

Original post: An Amtrak train derailed this afternoon in California's southern San Joaquin Valley after an accident involving a big rig, injuring 22 passengers and the truck driver, according to the highway patrol.