Where was the horseshoe invented?

It is believed that horseshoes were invented sometime during the 6th century in Europe. That is when they were first seen being used.