<|im_start|>user
Which company built the F-22 Raptor?

Context:
The Lockheed Martin F-22 Raptor is an American single-seat, twin-engine, all-weather stealth tactical fighter aircraft developed for the United States Air Force (USAF). As the result of the USAF's Advanced Tactical Fighter (ATF) program, the aircraft was designed as an air superiority fighter, but also has ground attack, electronic warfare, and signals intelligence capabilities. The prime contractor, Lockheed Martin, built most of the F-22's airframe and weapons systems and conducted final assembly, while Boeing provided the wings, aft fuselage, avionics integration, and training systems.  
  
The aircraft first flew in 1997 and was variously designated F-22 and F/A-22 before it formally entered service in December 2005 as the F-22A. Although the USAF had originally planned to buy a total of 750 ATFs, the program was cut to 187 operational aircraft in 2009 due to high costs, a lack of air-to-air missions at the time of production, and the development of the more affordable and versatile F-35.[N 1] The last F-22 was delivered in 2012.  
  
While it had a protracted development and initial operational difficulties, the F-22 has become a critical component of the USAF's tactical airpower. The fighter's combination of stealth, aerodynamic performance, and mission systems enabled a leap in air combat capabilities and set the benchmark for its generation. The F-22 is expected to serve into the 2030s and eventually be succeeded by the USAF's Next Generation Air Dominance (NGAD) manned fighter component.<|im_end|>
<|im_start|>assistant
Lockheed Martin was the main contractor responsible for the development of the F-22, but Boeing also contributed to some subsystems.<|im_end|>
