EAST RUTHERFORD, N.J. (AP) _ Goaltender Martin Brodeur, who led the New Jersey Devils to two Stanley Cups since 1995 and got them within a game of a third last year, has signed a five-year, $40 million contract extension.

Under the deal signed Tuesday night, Brodeur will earn $8 million annually in each of the next four seasons starting in 2002-03. The Devils have the option on the fifth year, which would be the 2006-07 season.

The entire extension is guaranteed, said Brodeur's attorney, Susan Ciallella, in a telephone interview.

While the extension does not include a signing bonus, it does have incentives that could push Brodeur's salary to $8.9 million in any season.

A six-time all star, Brodeur will earn about $4.8 million this season under his old contract, which would have expired after this season.

Patrick Roy, who led Colorado over the Devils and Brodeur in seven games in the Stanley Cup finals in June, is the NHL's highest paid goaltender, making $8.5 million annually.

``The Devils wanted to keep Marty there as a player and it was just a matter of coming to the right number,'' Ciallella said.

Devils general manager Lou Lamoriello refused to confirm the deal.

``I'm not going to get into any discussions,'' Lamoriello said.

However, he said Brodeur was the type of player a team wants to keep.

``There is no question he is one of the elite goaltenders in the league,'' Lamoriello said. ``He is a very important player on the New Jersey Devils.''

Brodeur did not immediately return a telephone message left by The Associated Press.

Brodeur, 29, has led the league in wins the last four seasons. He had 42 victories last season in joining Jacques Plante and Terry Sawchuk as the only NHL goaltenders to post three 40-win seasons.

He is only the fourth goaltender to record six consecutive 30-win seasons, joining Tony Esposito, Plante and Roy.

Brodeur posted a 16-4 record with a 1.67 goals-against average in the playoffs in 1995 when the Devils won their first cup, sweeping Detroit in the championship round.

Brodeur was 16-7 with a 1.61 goals in the playoffs in 2000, when New Jersey beat Dallas in six games to win their second title.

Colorado ended the Devils' bid for a second straight title in June, winning in seven games.

The Devils' first round draft pick in 1990, Brodeur made his debut in 1992, and joined the team on a full-time basis in 1993-94, posting a 47-27-11 record and winning the Calder Trophy as the league's top rookie.