Photo: Tara Ziemba/Getty

5th Annual Red Carpet Safety Awareness Event - Arrivals

David Henrie, who playedSelena Gomez‘s on-screen brother inThe Wizards of Waverly Place, has been arrested, PEOPLE confirms.

A public information officer with the Los Angeles Airport Police tells PEOPLE that Henrie, 29, “was arrested at 9:05 a.m. for possession of a loaded handgun at Terminal 2 at LAX.”

“He has been booked into the LAPD Pacific Division Jail and will be released on his own recognizance,” the officer adds.

According toTMZ, which broke the news, Henrie was carrying a loaded M&P Shield 9mm pistol.

A rep for Henrie did not immediately respond to PEOPLE’s request for comment.

Henrie laterspoke out about the incidenton Twitter writing, “I take responsibility for the situation at LAX today. I unintentionally brought my legally owned gun which is registered in my name to the airport.”

“I am so sorry for any trouble it caused, but I am appreciative of TSA’s efforts in implementing the safety laws that are in place to protect our beautiful country. More than anything I am humiliated an embarrassed that this even happened. But I am thankful to the TSA, LAPD and all involved today for their kindness and their professionalism during this process.”

Sharing a video of the sex reveal, Henrie captioned the post: “ITS A GIRL ITS A GIRL ITS A GIRL. Im a Poppa!!!!!!! Im so overwhelmed with joy I had to share this with you guys. I’m already singing ‘I Loved Her First.’ ”

“That reminds me. Where’s my shotgun? I don’t have a shotgun. Someone get me a shotgun!” he joked, adding, “I can’t wait to sit her down on a couch and tell her a 9 season story ofHow I Met Your Mother.”

The shotgun mention was later removed.

Cahill told PEOPLE of her new husband, “One of my favorite things about him is how funny he is and how we just get each other. Beingmarriedis going to be just that much better.”

source: people.com