As the first deadlines of baseball's offseason passed, the Los Angeles Angels allowed pitcher Dan Haren to become a free agent and David Ortiz agreed to a $26 million, two-year contract to remain with the Boston Red Sox.

Los Angeles tried to trade Haren before the 9 p.m. deadline to exercise his $15.5 million option, but a proposed deal with the Chicago Cubs for reliever Carlos Marmol fell apart and the Angels decided to decline the option and pay Haren a $3.5 million buyout.

A baseball official with knowledge of the Ortiz negotiations said the designated hitter could earn $30 million in the 2013 and '14 seasons.

Speaking at the Celtics' home opener against the Milwaukee Bucks on Friday night, Ortiz said, "We haven't finished it up yet."

"It's coming," he said as he walked back to his courtside seat at the TD Garden. "It's coming."

Ortiz was a free agent and able to discuss money with all teams at the deadline. The Red Sox made him a $13.3 million qualifying offer -- new under baseball's labor contract -- earlier Friday, but the sides continued negotiating and reached an agreement a few hours later.

The Yankees made qualifying offers to right fielder Nick Swisher, pitcher Hiroki Kuroda and reliever Rafael Soriano.

Texas outfielder Josh Hamilton, Tampa Bay outfielder B.J. Upton, Atlanta outfielder Michael Bourne, Washington first baseman Adam LaRoche and St. Louis pitcher Kyle Lohse also got the offers before the deadline. Players have until Nov. 9 to accept the qualifying offers. If a player turns down the offer and signs elsewhere, his former team would receive an extra selection immediately following the end of the first round of next June's amateur draft.

McGwire on the move: St. Louis Cardinals hitting coach Mark McGwire has informed the club he intends to take a similar position with the Los Angeles Dodgers, according to the St. Louis Post-Dispatch.

McGwire, who lives in Orange County, wants to be closer to his wife and children, the Post-Dispatch reported.

McGwire was the Cardinals' hitting coach for three seasons, helping develop young talent such as Allen Craig, David Freese and Matt Carpenter.

Rangers: Texas made a $13.3 million qualifying offer to Hamilton, ensuring them draft-pick compensation if the outfielder signs with another team. It was an expected move by the Rangers, who are sure Hamilton won't accept the one-year offer, preferring to explore free agency.

The Rangers declined to make qualifying offers to several players, including All-Star catcher Mike Napoli and pitcher Scott Feldman.

Mariners: Right-hander Hisashi Iwakuma agreed to a two-year contract with an option for 2015. Iwakuma started 16 games for Seattle and went 8-4 with a 2.65 ERA over the final three months of the season.

Dodgers: Reliever Javy Guerra had arthroscopic surgery on his right shoulder to clean up bursitis. He will start throwing in six weeks and is expected to be ready by spring training.

Orioles: Second baseman Ryan Adams was suspended for the first 25 games of next season after testing positive for a banned amphetamine.

Royals: Kansas City claimed off waivers right-hander Guillermo Moscoso from the Colorado Rockies and catcher Brett Hayes from the Miami Marlins.

Schilling responds: Former major league pitcher Curt Schilling called a lawsuit brought against him by Rhode Island economic development officials "political" and denied wrongdoing in connection with a $75 million state loan guarantee the state gave his failed video game company, 38 Studios.