LOS ANGELES—Fran Drescher, 56, star of “The Nanny” officially tied the knot with Shiva Ayyadurai, 50.

The actress announced the news of her marriage through a Twitter photo she captioned, “Surprise!!!!! We got married!”

Drescher and Ayyadurai first met about a year ago through an event. The couple got married at their beach house with a group of intimate family and friends.