WHEATLAND, Wyo. (AP) — Authorities say a tanker truck driver swerved to avoid a deer, causing an accident that spilled crude oil and closed Interstate 25 north of Wheatland for several hours.

The Wyoming Highway Patrol says 55-year-old Torin Williams of Johnstown, Colo., has not been cited for the accident. The Associated Press reports Williams was hauling oil from Wellington, Colo., to Guernsey in a tanker owned by Basin Western Inc. of Roosevelt, Utah.

Patrol spokesman Sgt. Stephen Townsend says the tanker carrying 8,820 gallons of crude oil went into the median, spun around then rolled 1.5 times. About 800 gallons of oil spilled.

The highway was closed for about eight hours.