On June 10, the Sabres officially announced their new AHL affiliate, beginning in the 2008–09 season, would be the Portland Pirates from Portland, Maine. This ended their 29-year affiliation with the Rochester Americans. They signed with the Pirates for two seasons, with a parent club option for a third. The Sabres entered the 2008 free agency period quietly, but on July 1, signed goaltender Patrick Lalime to a two-year contract. Three days later, the Sabres acquired Craig Rivet from the San Jose Sharks in exchange for a second-round draft pick in each of the next two drafts. The Sabres also extended the contracts of three players: Paul Gaustad (four years), Ryan Miller (five years) and Jason Pominville (five years). Miller was slated to become an unrestricted free agent following the upcoming season while Pominville was set to become a restricted free agent.