RIVERTON, Wyo. (AP) — A Wyoming woman has given birth in a car while she and her husband were racing to a Riverton hospital.

The Wyoming Highway Patrol says the baby was born late Sunday along U.S. 26 about 20 miles from Riverton.

A trooper had pulled the couple over for speeding at about 10 p.m. When the husband explained the baby was coming, the trooper told them to drive into Riverton while he followed.

After about 25 miles, the couple pulled over as the baby girl was born.

The trooper summoned an ambulance. A second trooper who once worked as a paramedic arrived, and he wrapped the baby in a blanket and cleared her airway.

The ambulance took mother and daughter to Riverton Memorial Hospital.

Names of the parents and troopers weren't released.