Task: Text Categorization
Input (English): Admirals in the service of this man included Dragut and Khair ad Din, the latter of which was victorious at the Battle of Preveza, giving this ruler mastery over the eastern Mediterranean. On his eastern borders,he fought a war sparked by the treachery of the Governor of Bitlis, eventually defeating Shah Tahmasp I and taking control of Baghdad. On his western borders, he supported the pretender John Zapolya as the successor to Louis II, whom this mans armies had killed. At home, he employed the architect Sinan and instituted land reforms which earned him the nickname of Kanuni  the lawgiver. For ten points, name this Ottoman Sultan better known as The Magnificent.
Output (English): History