Original sentence: During the 14th century region changed hands between Serbia and Hungary, being mostly under direct Hungarian rule until the 1370's when it was finaly captured by Serbian prince Lazar who in 1377/1378.Mačva remained in the hands of Dragutin's son Vladislav II untill 1319
Edited sentence: During the 14th century region changed hands between Serbia and Hungary, being mostly under direct Hungarian rule until the 1370s when it was finally captured by Serbian prince Lazar who in 1377/1378.Mačva remained in the hands of Dragutin's son Vladislav II until 1319