The new 3 GHz photocathode gun will provide the electron bunches for SwissFEL and has recently been installed in the SwissFEL injector test facility. There, it replaced the CTF2-gun 5, borrowed from CERN. The new gun is capable now of operation with 100Hz repetition frequency and a higher field on cathode and improved field symmetry. After RF conditioning of about 4 days, the gun reached the nominal acceleration gradient of 100 MV/m at an input power of about 17 MW and pulse-width of 1 microsecond.