Sarah McKinley, the Oklahoma mother who made national headlines for asking a 911 dispatcher if she can shoot an intruder that entered her home, had also received attention, and some praise, from former Alaska governor Sarah Palin.

I love that young woman, Palin told the National Review, referring to 18-year-old Sarah McKinley. I'm all in favor of girls with guns who know their purpose.

According to Palin, McKinley was just in shooting Justin Martin, 24, while he and Dustin Stewart, 29, tried to break into her home on New Year's Eve.

She fulfilled a purpose of the Second Amendment. I'd advise my own daughters to do the same. This mom protected an innocent life, Palin said. Kudos to the 911 dispatcher, too.

McKinley said on New Year's Eve, the men broke into her Oklahoma home and threatened to attack her and her 3-month-old baby with a 12-inch hunting knife. McKinley immediately phoned emergency services.

I've got two guns in my hand -- is it okay to shoot him if he comes in this door? McKinley asked the 911 dispatcher. I'm here by myself with my infant baby, can I please get a dispatcher out here immediately?

During the 21-mintue phone call with emergency services, McKinley asked if she can shoot the intruder.

I can't tell you that you can do that but you do what you have to do to protect your baby, the dispatcher responded.

About 20 minutes later, Martin broke in through the door barricaded by a couch, prompting McKinley fire a shot which killed him.

I waited till he got in the door. They said I couldn't shoot him until he was inside the house. So I waited until he got in the door and then I shot him, McKinley said.

In addition to the former governor of Alaska, McKinley's actions were verified as just according to the District Attorney.

Our initial review of the case doesn't indicate she violated the law in any way, Assistant District Attorney James Walters told The Oklahoman, saying the act was in self-defense.

When you're engaged in a crime such as first-degree burglary and a death results from the events of that crime, you're subject to prosecution for it, Walters said.

According to ABC News Oklahoma City affiliate KOCO, Martin went to McKinley's home a week before the incident, the same day a funeral took place for her 58-year-old husband Kenneth who died of lung cancer on Christmas day. McKinley said Martin was a neighbor who wanted to say hello, but she did not let him in initially.

However, court documents say Martin, along with a 29-year-old accomplice Dustin Stewart, most likely broke into the house on Dec. 31 to look for leftover prescription pills used by McKinley's deceased husband to treat lung cancer.

Authorities said Stewart fled the home after he heard gunshots.

According to KFOR, Dustin Stewart was released from Grady County jail on Thursday with a $50,000 bond. He is being charged with first-degree murder in connection with the death.

In the state of Oklahoma, somebody that's in the commission of a felony where a death results can be charged with murder, and it's basically a felony murder charge which is what we've done in this particular case, Grady County District Attorney Jason Hicks told KFOR.