How does the sentence end?

To reduce the pain, John decided to take some medication rather than smoke some weed. The
medication was more effective.