The P1Y Ginga was intended to be a multirole military aircraft along the same lines as the Mosquito and Ju 88. It has much promise but the war ended before its full potential was realized.
The P1Y was to meet an Imperial Japanese Navy requirement issued in 1940.
The first prototype to fly was in summer 1943 / August 1943. Pilots enjoyed the aircraft, but ground crews disliked its problems with the engines and hydraulic systems.
The P1Y1 wasn't used extensively because of engine problems.