The V1- and F1- rotary ATPases contain a rotor that rotates against a catalytic A3B3 or α3β3 stator. The rotor F1-γ or V1-DF is composed of both anti-parallel coiled coil and globular-loop parts. The bacterial flagellar type III export apparatus contains a V1/F1-like ATPase ring structure composed of FliI6 homo-hexamer and FliJ which adopts an anti-parallel coiled coil structure without the globular-loop part. Here we report that FliJ of Salmonella enterica serovar Typhimurium shows a rotor like function in Thermus thermophilus A3B3 based on both biochemical and structural analysis. Single molecular analysis indicates that an anti-parallel coiled-coil structure protein (FliJ structure protein) functions as a rotor in A3B3. A rotary ATPase possessing an F1-γ-like protein generated by fusion of the D and F subunits of V1 rotates, suggesting F1-γ could be the result of a fusion of the genes encoding two separate rotor subunits. Together with sequence comparison among the globular part proteins, the data strongly suggest that the rotor domains of the rotary ATPases and the flagellar export apparatus share a common evolutionary origin.