The Kansas Senate has overwhelmingly rejected a nominee for the state’s second-highest court whose political tweets offended lawmakers.

The vote Tuesday was 38-0 against confirming Labette County District Judge Jeffry Jack’s nomination to the Court of Appeals.

Laura Kelly became the first Kansas governor to have an appeals court nominee rejected.  The Republican-controlled Senate’s vote also allowed Kelly to name a second nominee.

Kelly herself had urged senators to reject Jack after trying to withdraw his nomination in March.  The state Supreme Court ruled Friday that a 2013 law didn’t allow her to withdraw Jack’s nomination.  That forced Tuesday’s vote to keep Jack off the appeals court.

Jack’s nomination was doomed by tweets in 2017 that included vulgar language and criticism of President Donald Trump and other Republicans.

Copyright © 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.