A small plane struck a power pole or electrical line and crashed on a street in this San Diego County town Saturday, injuring the pilot and passenger, authorities said.

The single-engine Cessna 172 went down at about 10:50 a.m., Federal Aviation Administration spokesman Ian Gregor said.

"It struck some overhead power lines or one of the power poles" about a quarter-mile from the Oceanside Municipal Airport, city police Sgt. Kelan Poorman said.

One person got out of the wreckage but another was trapped for about 30 minutes before being freed, police and fire officials said.

One person was in serious to critical condition while the other was in good condition at Scripps Memorial Hospital in La Jolla, hospital spokeswoman Catherine Jacobs said.

The plane apparently hit a sewage pumping station, causing a spill that was quickly contained, a fire dispatcher said.

Nobody on the ground was hurt.