State lawmaker jailed on contempt of court charges