Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

You think it's hard to wrangle your family for an annual photo?

A Chinese clan of more than 500 relatives had the ultimate task of coming together in a reunion shoot for the ages.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

After working on his family tree for more than two and a half years, Ren Tuanjie says he managed to track down at least 2,000 living descendants spanning seven generations. The family traces its roots back 851 years.

"In order to celebrate the completion of our family tree, we decided to have a get-together and photo session," Ren told NBC News in Beijing by phone Wednesday.

More than 500 members of the Ren family posed for a photo at Shishe village in China's eastern province of Zhejiang on Jan. 31, 2017. Zhang Liangzong

The family gathered for its reunion in Shishe village, in China’s eastern province of Zhejiang, during the Chinese New Year holiday.

"The oldest was 94, and the youngest was 4 years old," Ren said of the attendees.

Since the family is scattered across China, Ren said he got help from local police stations and used social media tools such as WeChat & QQ, China’s top messaging apps, to track down his loved ones.

It took over two months to spread the word about the reunion and get the family to descend on the village over the Lunar holiday for the photo shoot.

So how did they all cram in tight to say "cheese" in unison?

Zhang Liangzong, the photographer, told NBC News that he used a loudspeaker to gather the gang and deployed a drone to snap a wide aerial shot.

He added that he posed them in front of some basalt formations near the village "because it's a famous local scenic spot."