COSTA MESA ( — Thousands of bees swarmed on a roofing contractor and another man across the street in Costa Mesa Thursday, landing both men in a hospital.

A man working on a roof at a home in the 800 block of Laird Place apparently disturbed a hive of bees at about 8 a.m., Costa Mesa Fire Battalion Chief Bill Kershaw said.

READ MORE: 2 Long Beach Grocery Stores Shutting Down Saturday Over Hero Pay Law

A resident across the street was also attacked, Kershaw said.

The roofer was stung at least 50 times, and the resident at least 10 times.

READ MORE: Armed Suspect Caught On Camera Robbing Group Of People In A West Hollywood Alley

Both men complained of breathing problems and were taken to area hospitals for treatment.

Firefighters sprayed foam on the bees to subdue them until workers from Bee Busters could arrive to remove the hive from under the roof, Kershaw said.

MORE NEWS: Motive Unknown After 8 Killed At Indianapolis FedEx Facility

(©2015 CBS Local Media, a division of CBS Radio Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. Wire services contributed to this report.)