Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
On top of the gate, there is a carved stone inscription with date 1293 Saka or corresponds to 1371 CE, dated from Majapahit period during the reign Hayam Wuruk (r. 1350-1389).