The Jeep Wrangler generation with square headlights was the YJ.
Introduced for the 1987 model year, the YJ was the first Wrangler generation and replaced the Jeep CJ series. Its rectangular headlights were a conspicuous departure from the round lamps used on earlier CJ Jeeps, making the YJ easy to identify at a glance.
The YJ was developed by American Motors Corporation before Chrysler completed its acquisition of AMC. Production began in 1986 and continued through 1995, although some vehicles were sold later. It retained the classic open-body, body-on-frame, four-wheel-drive layout and leaf-spring suspension associated with Jeep’s earlier off-roaders.
A common mix-up is confusing the YJ’s headlight shape with its successor’s. The TJ, introduced for 1997, returned to round headlights, and later Wrangler generations kept the round-lamp look. The YJ also used rectangular lamps across its familiar two-door body, regardless of trim such as Sahara, Sport, or Renegade.