The Beckham family visited the set of Modern Family Instagram/Victoria Beckham

The Beckham clan made a recent visit to the set of Modern Family and posed for a cute photo in the Dunphy home. Victoria Beckham shared the image on her Instagram account on 10 August which featured husband David, and their children Brooklyn, Romeo, Cruz and daughter Harper.

"Dunphys are out, the Beckhams moved in. The new modern family!" Victoria captioned the photo.

Jesse Tyler Ferguson who plays Michael Pritchett on the hit ABC show photobombed the picture with a diva pose of his own and shared it on his social media account as well. "The role of Claire is being played by @victoriabeckham. The role of Phil is being played by @davidbeckham. The role of Victoria Beckham is being played by @jessetyler. Thank you all for coming to visit the Modern Family set today! We loved having you all!!!" he wrote alongside.

"EDIT: the family was only visiting the set, not shooting an episode. Although I think David could be Lily's new soccer coach."

The camera moment follows a photo of David with Cruz, Harper and Romeo at an Italian restaurant. Tyler Ferguson's husband Justin Mikita can be spotted smiling for the camera as he walks past the Beckhams. "Beckham photo bomb? #IPromiseItWasAnAccident," the lawyer commented and reposted the photo.

Earlier this week, Modern Family co-Creator Steve Levitan hinted that he show would most likely come to close at the end of season 10. "Our original goal was to just stay on the air," he told Deadline. "After awhile though, we felt we may be in control our own fate, and 10 sounded like a nice round number."

The show completed season 8 on 17 May and the network is yet to announce the release date of season 9.