Zedekiah or Mathaniah son of Josiah (c. 596 BC to 585 BC)

1Ch 3:15 And the sons of Josiah were, the firstborn Johanan, the second Jehoiakim, the third Zedekiah, the fourth Shallum. (There is no record of Johanan.)

2Ki 24:17 And the king of Babylon made Mattaniah his (Jehoiachin's) father's brother king in his stead, and changed his name to Zedekiah. (Made King by Nebuchadnezzar) see also 2 Chron 36 10,11

2Ki 24:18 Zedekiah was twenty and one years old when he began to reign, and he reigned eleven years in Jerusalem. And his mother's name was Hamutal, (not the same mother as Jehoiakim) (c. 596 BC to 585 BC)

Nebuchadnezzar made him swear with an oath to God that he would serve him

2Ch 36:13 And he also rebelled against king Nebuchadnezzar, who had made him swear by God: but he stiffened his neck, and hardened his heart from turning unto the LORD God of Israel.

Zedekiah was still subject to the Babylonians in the 4th year of his reign.

Jer 51:59 The word which Jeremiah the prophet commanded Seraiah the son of Neriah, the son of Maaseiah, when he went with Zedekiah the king of Judah into Babylon in the fourth year of his reign.

Many passages in Jeremiah show that Zedekiah continued to vacillate between Jeremiah's prophetic utterances and his opposite advisors and his own weak will.

Zedekiah probably rebelled in the 4th or 5th year of his reign so there was 5 to 6 years of independence before the siege of Nebuchadnezzar came in the 9th year and besieged the city until the 11th year after which the city was taken and broken up.

2Ki 25:1 And it came to pass in the ninth year of his reign, in the tenth month, in the tenth day of the month, that Nebuchadnezzar king of Babylon came, he, and all his host, against Jerusalem, and pitched against it; and they built forts against it round about. 2 And the city was besieged unto the eleventh year of king Zedekiah. 3 And on the ninth day of the fourth month the famine prevailed in the city, and there was no bread for the people of the land. 4 And the city was broken up, and all the men of war fled by night by the way of the gate between two walls, which is by the king's garden: (now the Chaldees were against the city round about:) and the king went the way toward the plain. 5 And the army of the Chaldees pursued after the king, and overtook him in the plains of Jericho: and all his army were scattered from him. 6 So they took the king, and brought him up to the king of Babylon to Riblah; and they gave judgment upon him. 7 And they slew the sons of Zedekiah before his eyes, and put out the eyes of Zedekiah, and bound him with fetters of brass, and carried him to Babylon.

All the prophetic material in the book of Ezekiel from chapter 1 to chapter 32 was written from and during during the 5th to the 11th years of the reign of Zedekiah before the fall of Jerusalem. Everything after Ezekiel 32:1 is written after the fall of Jerusalem in the 11th year and 9th month of Zedekiah's reign.