Fong will be reinstated on the ballot for the 20th Congressional District.
The ruling comes after the California Secretary of State announced that Fong would be removed from the ballot because he had already filed for re-election to the state assembly.
Fong filed a lawsuit challenging the secretary of state's decision to remove him.
On Thursday, Fong's case was heard in the Sacramento Superior Court, and the judge ruled in his favor.