A 17-year-old student tried to hire a classmate to kill a girl he suspected of interfering in his relationship with another girl, police said.

Thomas Moses Ramirez was arrested Wednesday and charged with solicitation of capital murder, police said.

Ramirez, a sophomore at Rayburn High School, had offered $150 and a small amount of drugs to a 17-year-old to kill a freshman at the school, police said.

The intended target was a friend of Ramirez's 15-year-old ex-girlfriend, officers said. They said Ramirez believed the girl had played a role in their breakup.

Authorities said they learned of the plan through a tip to a crime hot line, but Pasadena Police Capt. A.H. "Bud" Corbett said he did not know if the 17-year-old was the person who made the call.

Ramirez was being held at the Harris County Jail in lieu of $100,000 bail. Corbett did not know if Ramirez had an attorney.

Investigators arranged for Ramirez to meet at a Pasadena park with the student he had solicited and a law enforcement agent posing as a hit man.

During the Wednesday afternoon meeting, officers said Ramirez provided the name, address and a photo of the intended victim, along with a small amount of drugs as partial payment. It was understood that he would pay the rest of the agreed price after the slaying, police said.

After the agreement was made, Ramirez was taken into custody.