Please read the following table in Markdown format and then answer the question according to the table. Table cells in one row are seperated by '|', and different rows are seperated by '
'.

Table:
| Office | Democratic ticket | Republican ticket | Socialist ticket | Independence League ticket | Prohibition ticket | Socialist Labor ticket |
| --- | --- | --- | --- | --- | --- | --- |
| Governor | John Alden Dix | Henry L. Stimson | Charles Edward Russell | John J. Hopper | T. Alexander MacNicholl | Frank E. Passanno |
| Lieutenant Governor | Thomas F. Conway | Edward Schoeneck | Gustave A. Strebel | William Randolph Hearst | Calvin McCarthy | James T. Hunter |
| Secretary of State | Edward Lazansky | Samuel S. Koenig | Bertha M. Fraser | Thomas P. Scully | N. Horace Gillette | Henry Kuhn |
| Comptroller | William Sohmer | James Thompson | Orcus A. Curtis | Arnold B. MacStay | Bernard Clauson | Carl A. Luedecke |
| Attorney General | Thomas Carmody | Edward R. O'Malley | Henry L. Slobodin | Robert Stewart | Francis E. Baldwin | Lewis F. Alrutz |
| Treasurer | John J. Kennedy | Thomas F. Fennell | Sylvester Butler | William I. Sirovich | Charles J. Call | William A. Walters |
| State Engineer | John A. Bensel | Frank M. Williams | William Lippelt | James A. Lee | Albert W. Pierson | Jeremiah D. Crowley |
| Judge of the Court of Appeals | Frederick Collin | Irving G. Vann | Morris Hillquit | Reuben Robie Lyon | Alfred L. Manierre | Charles H. Chase |
| Judge of the Court of Appeals | Irving G. Vann | Frederick Collin | Louis B. Boudin | James A. Allen | Gilbert Elliott | (none) |
Question:
Who was on the Democratic ticket for the Office of Attorney General?
Answer:
Thomas Carmody