Noel Sean Myers, 50, faces life in prison if convicted

Receive the latest local updates in your inbox

A man, wanted on a warrant and accused of firing a pellet gun at officers during a three-hour standoff earlier this month appeared in court Tuesday.

On May 11, Oceanside police responded to a home at 606 S Cleveland St. just after 3 p.m. to investigate a report of an alleged assault.

Tuesday the suspect, Sean Myers, 50, stood trial on charges of assault with a deadly weapon on a peace officer, making criminal threats -- among other counts, according to our media partner the North County Times.

If convicted, Myers faces life in prison, Deputy District Attorney Ryan Sanders told the North County Times.

Before the stand-off, Officers planned to arrest Myers for an outstanding felony warrant that had been issued May 8, when Myers assaulted his elderly father police said.

Myers barricaded himself inside the home and displayed irrational behavior according to officers. Believing Myers had firearms in the home, police called in SWAT.

At one point during the standoff, Myers shot projectiles into the sky from an air rifle, according to police. He also fired a pellet gun and struck a police sergeant in the face and an officer on his helmet with pellets. The sergeant sustained minor injuries while the officer was not injured.

Police said Myers came in and out of the house several times during the stand-off and told officers he was not going to surrender. He then threw several Molotov cocktails at police, but they did not ignite.

Aerial views showed that the man appeared to be barbecuing in his backyard as SWAT surrounded the house.

At around 6:25 p.m., SWAT officers released tear gas into the home and Myers eventually came out and surrendered.

After the three-hour stand-off, police took Myers into custody.

Keep up to date on breaking news: Download our improved iPhone app, follow us on Twitter @nbcsandiego, fan us on Facebook, sign up for our breaking news e-mail alerts or text SDBREAKING to 622339 to receive text messages for local breaking news. (For more info, text HELP. To end, text STOP. Message and data rates may apply.)

Published at 10:39 AM PDT on May 30, 2012 | Updated at 10:45 AM PDT on May 30, 2012