Join Fox News for access to this content
Plus special access to select articles and other premium content with your account - free of charge.
By entering your email and pushing continue, you are agreeing to Fox News' Terms of Use and Privacy Policy, which includes our Notice of Financial Incentive.
Please enter a valid email address.
By entering your email and pushing continue, you are agreeing to Fox News' Terms of Use and Privacy Policy, which includes our Notice of Financial Incentive.

A deadly shootout that left two teenagers dead at a Texas library in December began when one of the teens tried using counterfeit money to buy an AR-15 rifle, prosecutors said. 

Obbie Perez, 17, is charged with two counts of capital murder in connection to the Dec. 30 shooting deaths of Angel Solis and Elijah Martinez, both 15, according to court documents obtained by FOX Dallas

Perez was arrested Friday. 

HOUSTON GRAND JURY DECLINES TO CHARGE MAN WHO SHOT AND KILLED ROBBER INSIDE TAQUERIA

The Mountain Creek Branch library in Dallas, Texas

The Mountain Creek Branch Library in Dallas is near where two Texas teenagers were shot and killed during a shootout, authorities said.  (KDFW)

Perez allegedly drove Martinez to the Mountain Creek Branch Library in Dallas to meet Solis to purchase the rifle. During the transaction, Solis gave Martinez a duffle bag with the rifle inside, the documents said. 

In exchange, Martinez paid Solis with fake money, authorities said. At some point, the two began shooting at each other.

Both were hit. An arrest affidavit said Perez then hid a 9 mm pistol in the bushes before calling 911.

Mugshot of Obbie Perez

Obbie Perez, 17, allegedly knew Elijah Martinez, 15, was going to use fake money to purchase an AR-15 rifle from Angel Solis, also 15, court documents said.  (Dallas County jail)

CLICK HERE TO GET THE FOX NEWS APP

When authorities arrived, he allegedly gave them a different handgun. He initially denied being a witness to the shooting but then allegedly admitted to investigators that he knew Martinez was going to give Solis fake money for the weapon and then try to rob him.

Perez is being held at the Dallas County jail on $2 million bond, according to jail records.