A Fairfield dance instructor faces up to two years in prison after pleading guilty to sexually assaulting a 13-year-old student.

John Sadowski, 26, of Euclid Avenue, pleaded guilty Wednesday before Superior Court Judge Robert Devlin in Bridgeport to fourth-degree sexual assault and risk of injury to children.

Devlin said he would consider imposing a two-year prison term with 10 years probation when Sadowski is sentenced Nov. 6.

Sadowski had been giving dance lessons to the victim since she was 5 years old.

When the girl’s mother recently looked at her daughter’s cell phone, she discovered a text message from Sadowski describing sex he wanted to have with the girl, according to police.

Police said they seized the cell phone and discovered 500 texts exchanged between Sadowski and the girl. In many of his texts, police said Sadowski graphically described sexual activity and also sent he a photo of his private parts.

When police questioned the girl, they said she admitted that Sadowski had inappropriately touched her twice. Police said Sadowski mentioned both incidents in his texts. In one of the texts, police said Sadowski advised the girl not to wear underwear the next time she came to class.

A professional dancer, Sadowski has worked with Maroon 5, All Time Low, Naughty By Nature, Lumidee, and participated in an event featuring Ne-Yo and Lady Sovereign. He was teaching at Cap 21 Studios in New York City, but has also taught at Gotta Dance Studio, a business owned by his mother in Fairfield.