Modern Family co-star Ty Burrell reportedly played a role in a lesbian couple's wedding in Utah.

According to TMZ.com, Burrell, who plays Phil Dunphy on the ABC hit comedy, was approached by a lesbian couple at Bar X in Salt Lake City on Friday to sign their marriage certificate as an official witness.

Burrell, who co-owns the bar, agreed.

The women were part of a group celebrating the fall of Utah's gay marriage ban.

“During the party, one lesbian couple decided they were so excited … they were going to GET MARRIED RIGHT THERE IN THE BAR … and asked Ty if he would sign the marriage certificate as an official witness,” TMZ.com reported.

The 46-year-old Burrell has been a vocal supporter of LGBT rights.