Blakeley, 23, was in 2nd District Court where he pleaded guilty to two counts of second-degree felony exploitation of a minor and two counts of lewdness involving a child.
In exchange for his guilty pleas, prosecutors dismissed eight other second-degree felony counts.
A mother called Layton police on Feb. 10 reporting that a man had exposed himself to her 4-year-old daughter at the Layton Target store earlier that day.
Police reviewed security camera footage from the store and identified the man as Blakeley. They arrested him at him place of employment.
Police said they found a cellphone containing explicit videos and pictures of minors. Police were able to identify another child who they said Blakeley exposed himself to.