Bhāskara II
The earliest reference to a perpetual motion machine date back to 1150, when Bhāskara II described a wheel that he claimed would run forever.