Answer
Hungary was not ruled by the Gediminids. The Gediminids were a dynasty that ruled the Grand Duchy of Lithuania from the 14th to the 16th centuries. Their territory included present-day Lithuania, Belarus, Ukraine, and parts of Poland and Russia. Hungary, on the other hand, was ruled by the Árpád dynasty from the 10th to the 14th centuries and by the Angevin dynasty from the 14th to the 16th centuries.