VERSAILLES, Ind. — Three teenagers who had left a school function early were killed Thursday when their pickups collided at a rural intersection in southeastern Indiana, police and school officials said.

The crash involved six students from South Ripley High School in the small town of Versailles, about 45 miles west of Cincinnati. The students had the day off from school to attend a Future Farmers of America event at a rural church, but they left the daylong event around 9:30 a.m. after serving breakfast to local agriculture officials, Superintendent Rob Moorhead said.

Police believe both drivers ran a four-way stop and their trucks collided at a right angle, with the larger dual-wheel Dodge truck hitting the smaller Ford F-250 broadside. Three of the teenagers died at the scene, and the others were taken to local hospitals, Indiana State Police Sgt. Noel Houze said.

Those killed were identified as the driver of the Ford F-250, 17-year-old Timothy Bowman, of Osgood, and his passenger, 18-year-old Jacob Vogel, of Versailles. A passenger in the other pickup, 18-year-old Samantha Hanson of Holton, also was killed.

Unlimited Digital Access. $1 for 4 weeks.

Investigators don’t know why the teenagers left the event early. The conditions of the three students who survived weren’t immediately released.

Moorhead said officials at the high school, which has about 370 students, called students into the gym to tell them about the crash. Teachers also were briefed.