State Sen. Mike Folmer has been charged with possession of child pornography, according to a release from the state Office of the Attorney General.

Officials said the investigation began as a result of a tip that social media site Tumblr had uploaded an image of child pornography using their application.

According to the release from Attorney General Josh Shapiro, the investigation led them to Folmer’s home in Lebanon. A search warrant executed Tuesday found images of child pornography on Folmer’s phone.

Updates:

Folmer was charged with three counts of sexual abuse of child- possession of child pornography and criminal use of a communication facility.

“This defendant serves as a state Senator and was entrusted to honor and represent his community in the Pennsylvania Capitol,” Shapiro said in the statement. "I will continue to say it—no one is above the law, no matter what position of power they hold. I will continue to work to protect children and hold those who abuse them accountable.”

Folmer did not respond to a request for comment shortly after the charges were announced.

A Lebanon County Republican, Folmer played a key role as a co-sponsor to the law allowing medical marijuana in Pennsylvania. He was a leader in the bi-partisan effort to pass the bill, which Gov. Tom Wolf signed into law.

Folmer was first elected to the state Senate in 2006. He scored an improbable win over a powerful Republican, then-Sen. David Brightbill, in the GOP primary. He previously served on the Lebanon City Council.

He serves as chairman of the Senate State Government Committee.