The re-signing of Adam LaRoche, a reigning Gold Glove and Silver Slugger winner in the National League, figures to be the final piece to a potent lineup for the Nationals. (John McDonnell/THE WASHINGTON POST)

The Washington Nationals and first baseman Adam LaRoche ended their offseason-long stalemate Tuesday and agreed to terms on a two-year contract, returning one of their most valuable players from 2012 to the middle of their lineup while making popular slugger Michael Morse near-certain trade bait.

LaRoche, a reigning Gold Glove and Silver Slugger winner in the National League, accepted the two-year offer the Nationals had on the table since the late fall. He had been holding out for a three-year deal, but he could not find one in a market stifled by the draft-pick compensation attached to him.

“I think we both were getting tired of the process,” General Manager Mike Rizzo said. “Adam and I had a few private conversations with each other. I made it clear to Adam, ‘It’s time to get this thing done, make a decision.’ He agreed.”

LaRoche’s signing figures to push the Nationals’ 2013 opening-day payroll past $100 million, the highest it has been in franchise history. According to a person with knowledge of the deal, which LaRoche signed after passing a physical Tuesday, he will earn at least $24 million over two years. He will make $10 million in 2013 and $12 million in 2014. The contract includes a mutual option for a third year worth $15 million. If the option is not picked up, LaRoche will receive a $2 million buyout.

“It’s good to have it done, it really is,” LaRoche said in a phone conversation. “At the end of the year, I was pretty confident I was coming back. There was a little stretch there it wasn’t looking good. Some other teams were coming on pretty strong. The whole time, I was kind of fighting for this to work out. I’m glad it did. This was my first choice, without question.”

Starting late in the regular season, LaRoche never wavered in his preference to return to Washington. But after the Nationals made an initial offer with “pretty tight parameters,” Rizzo said, and refused to budge, LaRoche thought for roughly a month he would sign elsewhere. Once Rizzo made some small concessions, LaRoche decided to re-sign.

“We got the dollars moved a little bit. Some of the other small things,” LaRoche said. “All in all, they held pretty tight. That’s part of what took a while. You got Rizz, myself – both pretty competitive guys going at it. We knew what the team could do. In no way do I consider this a bad deal. To be honest, we all make way more than we should, anyway. Either way, it’s a ton of money.”

He may not have gotten the three-year deal he hoped for, but LaRoche will stay with a team that suddenly has become a destination.

“It’s amazing how things have changed,” third baseman Ryan Zimmerman said. “People used to not be able to get out of here, and now they want to stay.”

LaRoche’s return answers the biggest remaining question of the Nationals’ winter. He will provide another left-handed slugger in the middle of the order and allow for balance in a potent lineup. Last season, LaRoche hit 33 home runs with a .271 batting average, .343 on-base percentage, .510 slugging percentage and 100 RBI. His slick fielding saved innumerable throws in the dirt. His bat and glove together earned a tie for sixth in the National League most valuable player voting.

“My respect for Adam LaRoche is second to none,” Rizzo said. “I wanted to do what’s right by him. He was the guy we really wanted on the ballclub.”

With LaRoche entrenched at first base, the Nationals will seemingly be forced to try to trade Morse, who no longer has a place in the starting lineup. Manager Davey Johnson admitted at the winter meetings he could not foresee both LaRoche and Morse returning with Bryce Harper, Denard Span and Jayson Werth taking up any potential outfield spot for Morse.

The Nationals would prefer to receive young starting pitching prospects or a major league reliever with a controllable contract in return. Morse has one year remaining on the two-year extension he signed last winter at $6.75 million.

Rizzo said he has been fielding calls about Morse for roughly the past month. Rizzo did not rule out keeping Morse, surely in part to avoid the impression that he would accept lesser value.

“There’s not going to be a time limit when we’re going to do it and if we’re going to do it,” Rizzo said. “If we can get the right deal for Mike, we’ll certainly think about trading him. We’re not going to make a bad deal just to move the player out of town. We don’t have to do it financially.”

The offense-poor Mariners and Orioles have shown interest in Morse. One major league executive speculated based on roster needs and makeup that the Yankees and Rays could make a play for him.

Since the outset of the offseason, Johnson has campaigned for LaRoche to re-sign with the Nationals, going so far as to invite him to his charity golf tournament in Orlando. Recently, LaRoche said, Johnson sent him a text message offering to work on his ranch in order to offset a third year on his contract.

“More than that with Davey is just the fact I got to play for him last year and how much I enjoyed that,” LaRoche said. “He’s just a pleasure to play for. He runs a good clubhouse and manages well. That would have been one of the things I would have missed.”

LaRoche became a calming presence and hugely popular figure inside the Nationals’ clubhouse. Shortly after the news of his return broke, Harper tweeted “Laroche is back!!! Lets go! That’s right!”

The Nationals can now stack their lineup alternating between left-handed and right-handed hitters from top to bottom. They answered the most pressing question remaining before pitchers and catchers report in five weeks. And LaRoche knows he will be there in Viera, Fla., where he wanted to be all along.

“It would have been unfortunate if it didn’t work out this way,” LaRoche said. “It’s nice knowing now we’re going to come back as one of the targets in baseball. The Nationals are one of the best teams in baseball.”