According to Hindu mythology, the Mahakaleshwar temple in Ujjain is built by Lord Brahma. However, the temple structure suggests that the temple was built midway through the 18th century in Bhumija, Chalukya, and Maratha styles of architecture.