Three members of the University of Wyoming swimming and diving team were killed in a highway crash in northern Colorado.

The crash happened Thursday afternoon on U.S. 287 about 10 miles (16 kilometers) south of the Wyoming-Colorado line between Laramie and Fort Collins, Colorado.

The three swimmers killed in the crash were: Charlie Clark, 19, a sophomore on the men’s team from Las Vegas; Luke Slabber, 21, a junior on the men’s team from South Africa; and Carson Muir, 18, a freshman on the women’s team from Birmingham, Alabama.

The crash injured two other team members who were expected to survive, according to a University of Wyoming statement.

The two injured men, 20 and 21, were taken to hospitals, according to a Colorado State Patrol statement.

“My thoughts and prayers are with our swimming and diving student-athletes, coaches, families and friends,” Wyoming athletic director Tom Burman said in a statement. “It is difficult to lose members of our University of Wyoming family, and we mourn the loss of these student-athletes. We have counseling services available to our student-athletes and coaches in our time of need.”

The crash happened when the driver of the Toyota RAV4 sport utility vehicle with four others inside swerved and went off the pavement, and the vehicle rolled over multiple times, the statement said.

The SUV was headed south and apparently not on an official team trip, the patrol statement said.

The accident was being investigated.