OLYMPIA — A state senator who was under investigation following allegations of improper conduct has resigned days ahead of the start of the legislative session. Sen. Kevin Ranker, a Democrat from Orcas Island, sent a letter to Gov. Jay Inslee’s office late Friday saying that he was resigning “with a heavy heart.” He wrote that his resignation was effective immediately.