An Eagan police officer hid in an entryway closet to catch a suspected pedophile as he offered a young girl money for sex, according to charges filed Friday in Dakota County District Court.

Emmanuel Osei, 39, of Eagan, was charged with four counts of first-degree criminal sexual conduct with a child multiple times over the past four years. He is accused of acts with a girl who was 8 years old when the first offenses occurred and now is under age 13, according to a criminal complaint.

On Tuesday, the girl called Osei at the behest of police and said she wanted money for oral sex performed on her two weeks earlier.

Osei went to her home, made sure nobody was there, and then offered her $100, the complaint said. A police officer stepped out of an entryway closet and arrested Osei.

JOY POWELL