The sweeping machine (vacuum cleaner) was patented in Chicago, US, by Ives W. McGaffey.

Source