We prove that all groups can be realized as fundamental groups of compact spaces if and only if no measurable cardinals exist. If the cardinality of a group G is nonmeasurable then the compact space K such that G = π₁K may be chosen so that it is path connected.