Drivers in Oakland, Calif., spent an extra 30 minutes on a freeway on Saturday because a herd of goats wandered onto the road.

California Highway Patrol officials said the goats were being used to remove brush along the highway when they wandered onto the freeway and impeded traffic.

The jam was cleared up within a half-hour.

Watch video of the traffic jam in the player above.