Manager Derek Shelton's contract was extended by the Pirates after the team's 14-7 start -- its best since 1992.
Shelton's contract was set to expire after the season. The Pirates announced the new deal Saturday but did not specify a length.
"It shows what we're doing and how we're doing it is working," Shelton said.
Shelton entered the season with a 142-242 record over three years.
"I am very excited to have a chance to continue to work with him," general manager Ben Cherington told reporters. "I really believe that he's the right person for the job.