How to downgrade to mac OS X Lion
The Internet Recovery (Option-Command-R at boot) installer will let you install the earliest supported Mac OS X version for your hardware (only as far back as Lion if your device supports an earlier version).