CHICAGO (CBS) — Veteran Pittsburgh Pirates pitcher Paul Maholm has signed a one-year contract with the Cubs, the team announced Tuesday.

The deal includes a club option for 2013.

Maholm actually broke the news of the deal himself Monday on Twitter:

“Just wanna say thank u to everyone that has cheered for me during my career as a Pirate. I loved my last six plus years in the city.

“I hope to get to continue some things when I visit during the year and start some great things as I start my Cubs career. #GodBless

“Looking forward to seeing the fans at Cubs convention this weekend and getting to know all the guys. It’s gonna be fun.”

Maholm also tweeted a picture the sign for a Harry Caray’s restaurant, which 670 The Score’s Adam Harris says appears to be from a Chicago airport.

The Chicago Tribune reports the deal is worth $4.25 million in 2012 and includes a $500,000 buyout.

As of Tuesday morning, Wikipedia had already updated its entry on Maholm to call him a Cub.

The Tribune says the signing of left-hander Maholm provides insurance in the event that Matt Garza is traded.