Two San Diego County sheriff's deputies were wounded in a shooting Wednesday afternoon, prompting a SWAT standoff and the evacuation of nearby residents in the beach community of Leucadia, Calif.

Authorities said the suspect killed himself in the early hours of Thursday morning, according to the Associated Press.

The shootings occurred while deputies were reportedly searching for a suspect involved in a vehicle theft, according to KFMB-TV.

The initial call came from the mother of a 22-year-old male who told deputies that her son had stolen her car after finding out she had filed a restraining order against him, according to The Coast News.

The man's name has not been released, but Capt. Duncan Fraser of the Sheriff’s Central Investigations Division told the paper that the suspect arrived at the residence “extremely upset” over the restraining order.

The suspect returned to the home a short time later and went inside. Meanwhile, several patrol deputies entered the home after getting the mother's consent, found where the suspect was believed to have been hiding and established verbal contact, according to Fraser.

"After several minutes of negotiation with him, which was unsuccessful, and because of some statements he was making, [the officers] deployed less lethal tear gas," Fraser said, according to Patch.Encinitas.com. "Unfortunately, the male returned fire, striking two deputies."

Both deputies were taken to a nearby hospital. One was treated for a minor head wound while the other was shot in his leg, according to KNSD-TV. Both are expected to make a full recovery.

Nearby homes were evacuated as a precaution and local streets were blocked off while a sheriff’s helicopter flew overhead and its crew made announcements to the suspect, KSWB-TV reported.

Also on HuffPost:

Loading Slideshow...
  • Vince Neil Tries To Punch Fan At Concert, Misses Badly

    Motley Crue frontman Vince Neil became aggravated by a fan in the front row at his concert in New Mexico on Dec. 7, 2012, and tried to punch him -- but he missed.

  • Spectacular Car Crash Caught On Camera In Boston

    A former doctor of the year has pleaded not guilty to driving drunk and under the influence of prescription drugs, following this spectacular car crash in Boston.

  • Officer Shooting Caught On Camera

    An officer with the El Cajon Police Department is shot right in front of a news camera on August 21, 2011. The entire event is caught on camera.

  • 'Black Friday Psycho'

    <em><strong>WARNING:</strong> The video below contains vulgar language and may not be suitable for some viewers.</em> Mariah Pyatskowit, a Wisconsin student and mother of two who once tried out for <em>Playboy</em> magazine, recently had her day in court for a profanity-laced shopping rant that went viral online last year. She was convicted of disorderly conduct and ordered to perform 40 hours of community service, according to her attorney, Brad Priebe.

  • 'Batman' Gets Beatdown On Las Vegas Strip

    <strong>VIDEO (WARNING: Graphic physical violence and language)</strong> This video, (scroll down to watch) posted on YouTube by <a href="http://www.facebook.com/MrMarcusPace" target="_hplink">Marcus DeWayne Pace</a> of Huntsville, Texas, shows a single-round brawl between an unidentified male in a white shirt and a street performer dressed as Batman.

  • Undercover PETA Investigation

    The animals rights group PETA released a shocking video today that allegedly shows workers at a dairy factory farm brutally abusing a number of livestock. The video was allegedly taken in late 2011 and early 2012, during an undercover investigation of Adirondack Farms, LLC, in Clinton County, New York. According to PETA, their investigator discovered workers routinely used poles and canes to hit cows in the face, udder, torso, hindquarters and limbs when leading them around. A manager of the facility was also allegedly caught on video as he repeatedly electro-shocked a cow in the face. The same manager, according to the animal rights group, called another cow a "dumb bitch," jabbed it in the ribs with a screwdriver and used a skid steer to drag it approximately 25 feet.

  • Lion Tries To Eat Zebra-Striped Toddler

    A lioness at the Oregon Zoo thought she found herself the perfect meal when an Oregon family brought a baby zebra to her enclosure.

  • British Military Tank Demolishes Home

    A company in Kasota, Minn., took home demolition to the next level when they used a tank to raze an abandoned house.

  • Russian Woman Falls Asleep On Scooter

    A woman's near-death experience when she reportedly falls asleep behind the wheel of a scooter and careens into oncoming traffic.

  • Divorce Attorney Caught On Video Breaking Into House

    Raymond Van Arnam, 60, was sentenced by Otero County Magistrate Judge Gene Galassini to spend 30 days in the Otero County Jail for charges related to kicking in the back door of client Melissa Stonecipher's estranged husband’s home.

  • 'Young Woman Being Arrested For Nothing'

    In footage posted April 29 to YouTube -- entitled "<a href="http://www.youtube.com/watch?v=D_hCd9uwsng" target="_hplink">Young woman being arrested for nothing</a>" -- Skyler Irene Waite of Alaska argues with a pair of officers over a small amount of marijuana they spotted when responding to a Kodiak home for a medical emergency. The scene became physical when Waite, who says she was reaching for the door, brought her arm closer to one of the troopers.