In 2014, he became secretary general of the
Orthodox-nationalist
Tkuma party. When the party joined the
Union of Right-Wing Parties alliance for the
April 2019 Knesset elections, Sofer was placed fourth on the alliances' list, and entered the Knesset when it won five seats. During the
2021 election he ran in
Likud list for the Knesset, as a member of
Atid Ehad party, using it as a shelf party. On 14 June he split from Likud and merged with the
Religious Zionist Party, after the swearing-in of the 36th government. The split was not officially approved until 27 June. Ahead of the
2022 election, Sofer was given the third spot on a joint list between the Religious Zionist Party and
Otzma Yehudit, and was re-elected to the Knesset as a result. On 29 December 2022, Sofer was appointed
Minister of Aliyah and Integration in the
new government. ==Personal life==