A dance teacher pleaded guilty to theft and fraud for stealing credit cards from his students’ purses during class time at Born 2 Dance studio in Vienna, police said.

Michael Anthony Stokes, 25, was sentenced to 180 days suspended for three counts of credit card fraud and one count of credit card theft.

He also must pay more than $6,000 in restitution, police said.

Stokes, 25, of Federalist Way in Fairfax, was arrested in September. He used his students’ credit cards and credit card numbers to buy things, according to Vienna police.