NEW YORK (AP) — Outfielder Yoenis Cespedes has been activated by the New York Mets following two months on the disabled list caused by a strained right hip flexor.

Cespedes is hitting .255 with eight homers and 28 RBIs, and his absence contributed to the downfall of the Mets. New York went 20-36 in his absence and fell into last place in the NL East. Despite an 11-1 start, the Mets started the second half with the fewest wins in the National League.

Cespedes had a two-game minor league injury rehabilitation assignment this week with the Gulf Coast Mets and went 2 for 8 with a three-run homer.

New York also recalled right-hander Drew Smith from Triple-A Las Vegas before Friday's series opener at the New York Yankees and optioned infielder Dominic Smith and right-hander Corey Oswalt to the Pacific Coast League farm team.

Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.