Police started investigating after people from across the country started calling in with tips.

A St. Paul man was posting inappropriate videos on social media sites — primarily Facebook — discussing sexual conduct he’d reportedly had with two six-year-old relatives, the tipsters told officers, according to authorities.

On Monday, Sean Windingland was charged with two counts of criminal sexual conduct involving the minors, according to the criminal complaint filed in Ramsey County District Court.

The 29-year-old was interviewed by investigators last week and admitted to both engaging in sexual conduct with the children and posting videos discussing his interactions with them online, the complaint said.

He also allegedly admitted to sharing naked images of the girls with “pedophiles” on the Internet.

He defended his behavior, telling officers he didn’t view it as wrong because the 6-year-olds consented to it, charges say.

He added that he recently started worrying about the impact the conduct could have on the girls’ future relationships, according to the complaint.

Windingland, who has no criminal history in Minnesota, was scheduled to make his first appearance on the charges Monday afternoon.

No attorney was listed for him in court records.

Most of the alleged conduct took place between January and March at Windingland’s parents St. Paul home, charges say.