The Patriots have appeared in the Super Bowl eight times in franchise history. The team advanced to the playoffs four times before appearing in Super Bowl XX in 1986, losing to the Chicago Bears 10–46. The team also appeared in Super Bowl XXXI in 1997, losing to the Green Bay Packers 21–35. The Patriots won their first Super Bowl championship in 2002, defeating the St. Louis Rams 20–17 in Super Bowl XXXVI. Their next Super Bowl victory was in 2004, when they defeated the Carolina Panthers 32–29 in Super Bowl XXXVIII. In 2005, they repeated as Super Bowl champions, defeating the Philadelphia Eagles 24–21 in Super Bowl XXXIX. They also made Super Bowl appearances in 2008 - following a perfect regular season - and 2012, where they lost to the New York Giants both times. They defeated the Seattle Seahawks 28–24 in Super Bowl XLIX to win their fourth Vince Lombardi Trophy in 14 seasons.