OAKLAND -- A 17-year-old Skyline High School senior was arrested Friday on suspicion of armed robbery in connection with thefts from two women outside two East Oakland elementary schools Thursday morning, police said.

The teen's name was not released by police because of his age. A second suspect remains at large.

Police said the Alameda County District Attorney's office's will decide next week if he will be prosecuted as an adult.

Police said the teen admitted his involvement in the two robberies, saying he needed money for his 9-month-old daughter. He was arrested about 9 a.m. Thursday in the 2500 block of 41st Avenue by Officer Iram Padilla.

Police recovered a pellet gun, believed to be used in the robberies, in the car he was driving. Police said he admitted being the gunman who robbed a woman at 8:30 a.m. Thursday outside Manzanita Elementary School at 2407 E. 27th St. Her purse, including her iPhone, cash and credit cards, was snatched. He also admitted to Officers Doug Keely and Jennifer Farrell that he was present when an accomplice robbed a special education teacher of her purse a gunpoint at 9:05 a.m. Thursday outside Franklin Elementary School at 950 Foothill Blvd., police said.

It was during that robbery that a witness took down a partial license plate on a Lexus the suspects were driving and a description of both of the suspects. The teen is headed to Alameda County Juvenile Hall on suspicion of two counts of armed robbery.