Oscar-nominated actor Benedict Cumberbatch has married theater director Sophie Hunter, choosing to tie the knot in a Valentine's Day ceremony on the Isle of Wight.

Cumberbatch's spokeswoman, Karon Maskill, on Sunday confirmed the couple had wed this weekend, surrounded by close family and friends. She described it as a "magical day."

The 38-year-old Cumberbatch rose to prominence with his modern-day portrayal of the cerebral sleuth in "Sherlock." He has been shortlisted for an Oscar for his role as code-breaking genius Alan Turing in "The Imitation Game." Turing helped win World War II with his work on cracking Nazi codes, but he was later prosecuted for homosexuality and committed suicide.

Hunter, 36, and Cumberbatch appeared together in the 2009 thriller "Burlesque Fairytales."