How I Met Your Mother's Ashley Williams is pregnant.

This is the first child for Williams and her husband Neal Dodson.

This is FOR REAL. So many reasons to dance. #babydodson pic.twitter.com/WqD8DS3BrW â€” ashley williams (@ash30) July 30, 2014

"After years of waiting for the perfect moment to have a child, we decided to go with this moment instead. And we couldn't be more thrilled," Williams told People.

Williams, who is due in October, also shared a photo on Twitter with her fans.

The actress played Victoria in How I Met Your Mother on a recurring basis in seasons one, seven, eight and nine.

She will next appear in Something Borrowed opposite Jim Gaffigan, which was picked by TV Land.