Hamilton man takes plea to statehouse