How were Wilhelm II and Nicholas II related?

Answer:
Through blood they were distant cousins, but through marriage they were first cousins. Wilhelm was the first cousin of Nicholas' wife Alexandra.

More notably, Nicholas's mother's sister was married to Edward VII of Great Britain, who became his uncle. So both Wilhelm II and Nicholas II (and Nicholas's wife) were first cousins of king George V of the United Kingdom.
Note: There are comments associated with this question. See the discussion page to add to the conversation.
First answer by Cdonorab. Last edit by Cdonorab. Contributor trust: 115 [recommend contributor recommended]. Question popularity: 2 [recommend question].