GALVESTON, Texas (AP) — A Texas teenager is in custody after authorities say his car careened out of control while racing another vehicle and struck three police motorcycles as officers stood nearby.

Eighteen-year-old Melvin Valle was being held Thursday at the Galveston County jail on charges that include reckless driving. He also was being held on an immigration hold.

Authorities say a Galveston officer and two with the Texas Department of Public Safety were monitoring vehicle speeds Tuesday when Valle began racing another motorist.

Speeds reached nearly 80 mph (129 kph) before Valle hit his breaks and lost control of the car, sending it into the motorcycles.

The three officers were able to run out of the way and were not hurt.

Online jail records don't indicate whether Valle has an attorney.