A federal judge has ruled that legally married same-sex couples can keep their city of Houston employee health and life insurance benefits.

Harris County republicans challenged the legality of the benefits saying it violates the city charter, Texas Defense of Marriage Act and state constitution.

A state district judge issued a restraining order on the benefits several days ago.

That order was overturned by the federal court on Thursday.