This document discusses the discovery of a millisecond X-ray pulsar, IGR J18245-2452, located in the globular cluster M28. The pulsar was previously known as the radio millisecond pulsar PSR J1824-2452I. Observations found that the pulsar alternates between accretion-powered and rotation-powered states on timescales of years, providing direct evidence that these two states cycle in recycled pulsars. When accreting, the pulsar shows X-ray pulsations and luminosity characteristic of other accreting millisecond pulsars. When not accreting, it had previously been detected as a radio pulsar. This demonstrates the evolutionary link between low-mass X