LOS ANGELES (CBSLA) — The Federal Drug Administration has approved the first drug to help treat peanut allergies in children.

The medication Palforzia can be used for children ages four to 17.

READ MORE: Parolee, Ironwood State Prison Inmate Charged In More Than $500K EDD Fraud Scheme

It works by slowly exposing children diagnosed with a peanut allergy to small doses of peanut protein over time.

READ MORE: 'I Can't Believe It's Been Three Years:' Community Prepares To Remember, Reflect On Tree Of Life Shooting

Eventually, the children should build up a tolerance, mitigating allergic reactions to peanuts, according to the Northern California company Aimmune Therapeutics which developed the medication.

MORE NEWS: LA Man Killed In Single-Car Crash On 405 Freeway In Costa Mesa

Palforzia is not a cure for peanut allergies but is designed to help make reactions less severe and less frequent.