BALTIMORE (AP) — Matt Harvey will try to revive his career with the Baltimore Orioles.

The 31-year-old right-hander agreed Saturday to a minor league contract with the Orioles. He would get a $1 million, one-year contract if added to the 40-man roster, and would have the chance to earn performance bonuses.

READ MORE: COVID-19 In Maryland: 932 New Cases Reported, 11 More Deaths

Harvey was 0-3 with an 11.57 ERA in four starts and three relief appearances for the Kansas City Royals. His fastball averaged 94.5 mph, down from 97 mph in 2013.

An All-Star with the New York Mets in 2013, Harvey was derailed by Tommy John surgery in October 2013 and an operation to correct Thoracic Outlet Syndrome in 2016.

READ MORE: 'An Incredible Therapy' | Hagerstown Doctor Says Monoclonal Antibody Treatment Provides Fast Recoveries For Some COVID Patients

Harvey went 34-37 with a 3.66 ERA for the Mets from 2012 until he was traded to Cincinnati in May 2018. He moved on to the Los Angeles Angels in 2019 and the Royals in 2020, and is 44-52 with a 4.14 ERA in 144 starts and eight relief appearances.

He will try to earn a job in a rotation headed by All-Star John Means. Former All-Star Félix Hernández and Wade LeBlanc also will be at Orioles spring training with minor league contracts, and rookies Dean Kremer and Keegan Akin also figure to be competing.

MORE NEWS: Rockville Police Officer, Maryland National Guardsman Daniel Morozewicz Arrested On Child Porn Charge

(© Copyright 2021 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)