Mark Hendrickson is getting another shot with the Baltimore Orioles.

The York resident agreed to terms on minor league deal with Baltimore on Monday, according to Orioles.com.

Hendrickson's deal includes an invitation to big league camp.

The 6-foot, 9-inch left-hander has a career major league record of 58-74 with a 5.03 ERA in 10 seasons. He previously pitched for the Orioles from 2009 through 2011, mostly in relief. He was 8-11 with Baltimore with a 4.80 ERA. He also pitched for the Toronto Blue Jays, Tampa Bay Rays, Los Angeles Dodgers and Florida Marlins.

Last season, Hendrickson pitched for York Township in the Susquehanna League.

According to Orioles.com, Hendrickson has been experimenting with arm angles and is now using a sidearm delivery.

"(I'm) a 38-year-old mind but a 20-year-old sponge right now as far as being open and willing to say, 'Hey, teach me whatever,'" Hendrickson told Orioles.com of his new delivery. "Let's work at this and see how good I can be doing something a little different."

Hendrickson also previously played in the NBA from 1996 through 2000 with the Philadelphia 76ers, New Jersey Nets, Sacramento Kings and Cleveland Cavaliers.

Orioles.com also reported that the Orioles have agreed to a minor-league deal with 34-year-old Joel Pineiro, who will be assigned to a minor-league camp.

Pineiro is 104-93 in the majors with a 4.41 ERA. He last pitched in the majors in 2011 with the Angels, going 7-7 with a 5.13 ERA.