Ukraine has mostly been part of Russia since they voted to join Russia in 1654.
You are correct in saying that Ukraine was part of the Russian Empire, but I don’t think they “voted” to join.