President Donald Trump announced Thursday that he had posthumously pardoned Pete Rose, the baseball legend and career hits leader. The announcement comes more than two years after Rose's death and a year after Major League Baseball Commissioner Rob Manfred reinstated him.

"I have just given a Complete and Total Pardon to the Late, Great Pete Rose, a true Baseball SUPERSTAR & LEGEND," Trump posted on social media.

Rose, who holds the MLB record with 4,256 career hits, pleaded guilty in April 1990 to two counts of filing false tax returns, admitting he failed to report $354,968 over a four-year period. This plea came about eight months after he agreed to a permanent ban from baseball.

In May of the previous year, Commissioner Manfred issued a ruling that created a path for Rose to be considered for the National Baseball Hall of Fame. Manfred declared that individuals on MLB's permanently ineligible list would have their statuses restored upon death, a decision that affected 17 people, including Rose and Shoeless Joe Jackson.

Under a rule adopted by the Hall's board of directors in 1991, individuals on the permanently ineligible list cannot be considered for election. Rose or Jackson could potentially be inducted into the Hall of Fame as early as 2028.

Rose accepted a permanent ban in August 1989 following an investigation by Major League Baseball that concluded he had bet on the Cincinnati Reds multiple times while playing for and managing the team from 1985 to 1987.

Facing a potential sentence of up to six years in prison and fines of $500,000, Rose was sentenced in July 1990 by U.S. District Judge S. Arthur Spiegel to five months in prison. He was also fined $50,000 and ordered to complete 1,000 hours of community service as a gym teacher's assistant for inner-city youths in Cincinnati during a one-year probation period. The first three months of his probation were to be spent in a halfway house.

Rose repaid the IRS $366,042. He reported to the U.S. Penitentiary Marion Camp in Illinois, a minimum-security facility, on Aug. 10, 1990, and was released on Jan. 7, 1991. He began his probation at Talbert House and completed it on April 5, 1991.

During his playing career from 1963 to 1986, Rose was a 17-time All-Star. He was named the National League Rookie of the Year in 1963, the MVP in 1973, and the World Series MVP in 1975. A three-time NL batting champion, he surpassed Ty Cobb's previous hits record of 4,191.